recomentionDocs
API reference

Get one ranking

One category's latest ranking with every answer verbatim. No key needed.

GET
/v1/rankings/{slug}

Path Parameters

slug*string

Response Body

The ranking.

application/json
  1. response
ranking*
Example Request
curl -X GET 'https://api.recomention.com/v1/rankings/string'
Example Response
{  "ranking": {    "version": -9007199254740991,    "slug": "string",    "category": "string",    "month": "string",    "checkedAt": "2019-08-24T14:15:22Z",    "engines": [      "OPENAI"    ],    "runsPerPrompt": -9007199254740991,    "prompts": [      {        "text": "string",        "property1": null,        "property2": null      }    ],    "brands": [      {        "name": "string",        "domain": "string",        "mentions": -9007199254740991,        "avgPosition": 0,        "property1": null,        "property2": null      }    ],    "answers": [      {        "prompt": -9007199254740991,        "engine": "OPENAI",        "run": -9007199254740991,        "text": "string",        "property1": null,        "property2": null      }    ],    "url": "string",    "property1": null,    "property2": null  }}