Skip to content

Get the API's index

GET /v1

Answers what the API is and where its documentation and OpenAPI document are. Needs no token.

Use it to check you have the right address: https://api.rabbitflare.com/v1.

Example request

curl "https://api.rabbitflare.com/v1"

Response

200 OK Returns the ApiIndex object in data.

The ApiIndex object's fields 4 fields
FieldType and description
name

string

Always “Rabbitflare API”.

version

string

The API's major version, the one in the path: v1.

documentationUrl

string

Where the API's documentation is.

openapiUrl

string

The API's OpenAPI 3.1 document (GET /v1/openapi.json).

Example response

200 OK
{
  "data": {
    "name": "Rabbitflare API",
    "version": "v1",
    "documentationUrl": "https://rabbitflare.com/docs/api",
    "openapiUrl": "https://api.rabbitflare.com/v1/openapi.json"
  }
}

Errors

The errors this request can answer besides those every request can (a missing token, a missing scope, the rate limits). Each answer is an Error object (see Errors).

Status and codeWhen, and what to do
400 invalid_parameter

A query parameter is unknown or has a wrong value (fields names it), or the query is too long: over 16,384 characters, or a parameter's name over 64.

Correct or remove the parameter named in fields.

429 rate_limited

Too many requests. scope says which limit: token, account, create, operation or network.

Wait for Retry-After seconds, then go on more slowly.

503 api_unavailable

The API is switched off for everyone for a while.

Try again later; Retry-After says when.

Rate limit

Read requests: 120 a minute per token, 240 per account. More in Rate limits.

Added on .

Popular

API docs