v1
Usage

Get API token usage costs for different endpoints

Returns the number of tokens required for each API endpoint operation.

Note: eeatCompetitorsTokensCostPerCompetitor is a per-competitor cost. The total cost of POST /api/v1/eeat-competitors equals this value × the number of competitors analyzed (deduplicated URLs in the guide's top-10 SERP, capped at 10).

get/api/v1/tokens-usage

Request

  • Base URL: https://app.serpmantics.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.serpmantics.com/api/v1/tokens-usage
  • Auth: none declared

Response

Token usage details for API endpoints

successboolean
apiTokensUsageobject

Example response

{
  "success": true,
  "apiTokensUsage": {
    "internalLinksGenerationTokensCost": 99,
    "outlineGenerationTokensCost": 99,
    "intentGenerationTokensCost": 99,
    "metaGenerationTokensCost": 99
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.