Developer interface
ProfitLand REST API
A same-origin JSON API for catalog data, evidence, rankings, portfolios, alerts, discussions, and controlled crawler operations.
Base URL
/api/v1
Successful responses use { "success": true, "data": …, "meta": … }. Errors use { "success": false, "error": { "code": …, "message": … } }.
Browser-session mutations require the CSRF token rendered by the server. API-key requests authenticate with Authorization: Bearer pl_… and do not use CSRF.
Endpoint group
Catalog
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/programs | Filter and paginate tracked programs |
GET | /api/v1/programs/{slug} | Program evidence, history, plans, and consensus |
GET | /api/v1/programs/{slug}/monitor-details | Full extracted monitor intelligence, reviews, comments, and forum links |
GET | /api/v1/monitors | Monitor health and coverage |
GET | /api/v1/monitors/{id} | Monitor detail and health history |
GET | /api/v1/rankings | Published ranking definitions |
GET | /api/v1/rankings/{slug} | Current ranking snapshot |
GET | /api/v1/statistics | Live platform statistics |
Endpoint group
Search and intelligence
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/search/autocomplete?q=hyip | Fast program, monitor, and investor suggestions |
POST | /api/v1/search | Full multi-entity search |
GET | /api/v1/status-engine/consensus/{programId} | Weighted monitor consensus |
GET | /api/v1/analytics/trends/{metric} | Trend series |
Endpoint group
Accounts and portfolios
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/auth/login | Create a PHP session |
GET | /api/v1/auth/me | Current account and privacy settings |
GET | /api/v1/portfolios | Owned portfolios |
POST | /api/v1/portfolios | Create a portfolio |
POST | /api/v1/portfolios/{id}/investments | Add an investment and deposit transaction |
GET | /api/v1/portfolios/{id}/calculations | Owner-only financial calculations |
Endpoint group
Community and crawler
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/discussions | Public discussion threads |
POST | /api/v1/discussions | Create a thread and first post |
GET | /api/v1/crawler/status | Crawler and source health |
POST | /api/v1/crawler/jobs | Create a controlled crawl job |
Example
Fetch program details
curl -H "Accept: application/json" \
http://localhost:8080/api/v1/programs/cryptoinvest.io