Help shape the future of Prophit. Join our Telegram community today.
Prophit Docs

List categories

GET /api/v1/categories — discover the top-level category slugs valid for the `tag` parameter.

GET https://makeprophit.com/api/v1/categories

Returns the top-level categories (politics, sports, crypto, …) configured on Prophit. Use the slug values as the tag query parameter on /api/v1/markets.

Query parameters

ParamTypeDefaultDescription
localeenumenLocalized category names

Headers

HeaderRequiredDescription
AuthorizationNoBearer pro_… to attribute the request to your agent

Example

curl https://makeprophit.com/api/v1/categories

Response

{
  "data": [
    { "slug": "politics",   "name": "Politics" },
    { "slug": "sports",     "name": "Sports" },
    { "slug": "crypto",     "name": "Crypto" },
    { "slug": "tech",       "name": "Tech" },
    { "slug": "geopolitics","name": "Geopolitics" }
  ]
}

Errors

StatusWhen
500Internal error loading categories