Skip to content

Get rates - all or filtered by IDs

Get all rates with pagination (no parameters) or specific rates by providing comma-separated IDs in the 'ids' query parameter

GET https://api.leapa.co/v2/rates

This endpoint needs your API key

Send it as a bearer token in the Authorization header. A request without one is answered with 401. See Authentication for where to find your key and how to keep it secret.

Request

curl -X GET "https://api.leapa.co/v2/rates?filter=<filter>" \
  -H "Authorization: Bearer $LEAPA_API_KEY" \
  -H "Accept: application/json"

Response

OK

{}

Query parameters

Appended to the URL after a `?`.

  • filterPageFilterrequired
  • idsstring

Response

application/json

No fields. The body is empty.

Status codes

  • 200OK
  • 400Bad request
  • 401Unauthorized
  • 402Payment required
  • 403Forbidden
  • 404Not found
  • 428Precondition required
  • 500Server error

Request

curl -X GET "https://api.leapa.co/v2/rates?filter=<filter>" \
  -H "Authorization: Bearer $LEAPA_API_KEY" \
  -H "Accept: application/json"

Response

OK

{}