API

Account and subscription

You are reading the Data API docs

Base URL: api.seranking.com

Data API and Project API keys are not interchangeable — use the correct one to avoid authentication errors.

Data apikey example:
80cfee7d-xxxx-xxxx-xxxx-fc8500816bb3
(UUID format)
Project apikey example:
253a73adxxxxxxxxxxxxxx340aa0a939
(40-char hex)

API keys are available in your account. For any questions or 401 errors, email [email protected] for support.

Subscription

GET
https://api.seranking.com/v1/account/subscription

Cost: 0 credits

Return information about existing subscriptions and the remaining API balance for the authenticated API key.

Request parameters

ParameterTypeRequiredDefaultDescription
outputStringNojsonResponse format. Possible values: json (default) or xml.

Request example

Copy
curl -X GET 'https://api.seranking.com/v1/account/subscription?output=json' \
-H 'Authorization: Token YOUR_API_KEY'

Response parameters

ParameterTypeDescription
statusStringCurrent status of the API subscription plan: active, inactive, expired, or disabled.
start_dateDateTimeSubscription start date in YYYY-MM-DD HH:MM:SS format.
expiration_dateDateTimeSubscription expiration date in YYYY-MM-DD HH:MM:SS format.
units_limitLongTotal number of API units available for this subscription.
units_leftLongCurrent API balance — number of remaining API units.

Response example

Copy
{
  "subscription_info": {
    "status": "active",
    "start_date": "2024-01-18 14:20:02",
    "expiraton_date": "2024-02-18 14:20:02",
    "units_limit": 5000000,
    "units_left": 4975033
  }
}

Learn how SE Ranking’s API can boost your SEO!

Hi! Meet our product expert, Alex.

He’ll walk you through the API and show you how to get the most out of it.

  • Enjoy a tailored demo on integrating rich, structured SEO data into your stack.
  • Pin down every tech detail live—auth, endpoints, rate limits, data formats.
  • Compare usage tiers and pricing so you can unlock maximum data value.

Request a free demo to see our tools and integrations in action

By clicking this button, you agree to SE Ranking’s Terms of Services and Privacy Policy.