Rankd for Developers
Checking API…

API

API root

GET/v1
No API keyRate-limited

Names the API and its version. A good first request.

Try it#

Sends a real request to the production API through this site. No credentials are used, so you see exactly what anyone would.

Request#

curl "https://api.rankdmusic.app/v1"

Response#

A successful response is { "data": …, "meta": … }. data is a ApiInfo, and meta is a Meta.

FieldTypeDescription
namealwaysstringThe API’s name.
versionalwaysintegerThe API version.
documentationstringA pointer to Rankd’s internal notes. Use this site instead.

Responses#

200The API and its version.

Captured from production: GET /v1

200 response
{
  "data": {
    "name": "Rankd API",
    "version": 1,
    "documentation": "docs/api/v1.md"
  },
  "meta": {
    "apiVersion": 1,
    "migrationPhase": 3,
    "sourceOfTruth": "per_account"
  }
}
429Too many requests this minute. Wait Retry-After seconds, then try again.

Headers: Retry-After Seconds to wait. Always 60.

429 response
{
  "error": "rate limited"
}
↑ ↓ to move↵ to open/ or ⌘K to search