Serpel API

Serpel API as documented publicly: 40 operations. Contract generated from the documentation by API Evangelist (2026-11-24); not the provider's own document.

GitHub OpenAPI

Operations 40

GET /api/health Get service status #
GET /api/v1 Get machine‑readable index of endpoints #
POST /api/v1 POST /api/v1 #
POST /api/v1/billing/estimate Estimate a cost first with POST /billing/estimate. #
GET /api/v1/jobs/$JOB_ID Read one job with status, progress, result and last error. #
POST /api/v1/keywords/research Start keyword research. #
GET /api/v1/projects List projects #
POST /api/v1/projects Create a project. #
GET /api/v1/projects/$PROJECT_ID/crawls List crawls for a project. #
POST /api/v1/projects/$PROJECT_ID/crawls POST /api/v1/projects/$PROJECT_ID/crawls #
GET /api/v1/projects/$PROJECT_ID/issues Issues of the crawl with score and comparison. #
POST /api/v1/projects/$PROJECT_ID/issues POST /api/v1/projects/$PROJECT_ID/issues #
GET /api/v1/projects/$PROJECT_ID/rankings Read rankings for a project. #
POST /api/v1/projects/$PROJECT_ID/rankings POST /api/v1/projects/$PROJECT_ID/rankings #
POST /api/v1/projects/$PROJECT_ID/rankings/run POST /api/v1/projects/$PROJECT_ID/rankings/run #
GET /api/v1/projects/$PROJECT_ID/rankings/summary GET /projects/{id}/rankings/summary Returns totals for the whole project in one call. #
POST /api/v1/tokens Create a new API token. #
POST /auth/device/token Exchange device code for a token #
POST /billing/estimate Estimate credit cost of an operation #
GET /billing/ledger GET /billing/ledger lists every booking #
GET /crawls/{id}/pages GET /crawls/{id}/pages lists the crawled URLs #
GET /crawls/{id}/pages/{pageid} GET /crawls/{id}/pages/{pageId} returns links, issues and signals for rendering, hreflang, structured data and soft 404s #
GET /crawls/{id}/web-vitals GET /crawls/{id}/web-vitals returns Core Web Vitals per URL and device #
GET /jobs/{id} Read a job with status and result #
POST /keyword-lists/{id}/refresh Refresh keyword list metrics #
GET /keywords/bing-stats Get Bing impressions for a keyword #
POST /keywords/research Start keyword research #
GET /locations Finds location codes for cities, postal codes and regions. #
GET /me Get signed‑in user and token permissions #
GET /projects/{id}/competitors/comparison Compares your positions with competitors, keyword by keyword. #
POST /projects/{id}/crawls POST /projects/{id}/crawls starts a crawl #
GET /projects/{id}/crawls/compare GET /projects/{id}/crawls/compare shows new, fixed and changed issues between two crawls #
GET /projects/{id}/rankings Lists tracked keywords with latest position, change and ranking URL. #
POST /projects/{id}/rankings Adds keywords with country, language, device and location. #
POST /projects/{id}/rankings/run Starts a check for all or selected keywords and returns a job. #
GET /projects/{id}/rankings/summary Totals: tracked, top 3, top 10, not found and average position. #
PATCH /projects/{id}/search-console/bing Update Bing connection settings #
GET /rank-keywords/{id}/history Returns the position history of one keyword. #
GET /rank-keywords/{id}/serp Returns the stored organic results of the last check. #
POST /tokens Create a new API token #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/serpel-app:serpel-app-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

serpel-app-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Serpel API
  version: '2026-11-24'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-24: 40 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Serpel has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 35
    pages-with-code: 3
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-24'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://serpel.app/docs/api
  - https://serpel.app/developers/api
  - https://serpel.app/developers/rank-tracking-api
paths:
  /api/health:
    get:
      operationId: get_api_health
      tags:
      - Api
      summary: Get service status
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1:
    get:
      operationId: get_api_v1
      tags:
      - Api
      summary: Get machine‑readable index of endpoints
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1
      tags:
      - Api
      summary: POST /api/v1
      x-source: https://serpel.app/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl examples. What is the base URL of the Serpel API? All endpoints live under https://serpel.app/api/v1 . Paths in this reference
          are relative to it, so /projects means https://serpel.app/api/v1/projects . Requests and responses use JSON. Send Content-Type: application/json
          with a body. GET https://serpel.app/api/v1 returns a machine-readable index of the endpoints without authentication, and GE'
  /api/v1/billing/estimate:
    post:
      operationId: post_api_v1_billing_estimate
      tags:
      - Api
      summary: Estimate a cost first with POST /billing/estimate.
      x-source: https://serpel.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1BillingEstimateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/jobs/$JOB_ID:
    get:
      operationId: get_api_v1_jobs_JOB_ID
      tags:
      - Api
      summary: Read one job with status, progress, result and last error.
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/keywords/research:
    post:
      operationId: post_api_v1_keywords_research
      tags:
      - Api
      summary: Start keyword research.
      x-source: https://serpel.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1KeywordsResearchRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/projects:
    get:
      operationId: get_api_v1_projects
      tags:
      - Api
      summary: List projects
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_projects
      tags:
      - Api
      summary: Create a project.
      x-source: https://serpel.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ProjectsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/projects/$PROJECT_ID/crawls:
    get:
      operationId: get_api_v1_projects_PROJECT_ID_crawls
      tags:
      - Api
      summary: List crawls for a project.
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_projects_PROJECT_ID_crawls
      tags:
      - Api
      summary: POST /api/v1/projects/$PROJECT_ID/crawls
      x-source: https://serpel.app/developers/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ProjectsProjectIdCrawlsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://serpel.app/api/v1/projects/$PROJECT_ID/crawls"  -H "Authorization: Bearer $SERPEL_TOKEN"  -H "Content-Type:
          application/json"  -d ''{"maxPages":100}'''
  /api/v1/projects/$PROJECT_ID/issues:
    get:
      operationId: get_api_v1_projects_PROJECT_ID_issues
      tags:
      - Api
      summary: Issues of the crawl with score and comparison.
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_projects_PROJECT_ID_issues
      tags:
      - Api
      summary: POST /api/v1/projects/$PROJECT_ID/issues
      x-source: https://serpel.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ProjectsProjectIdIssuesRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ProjectsProjectIdIssuesResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://serpel.app/api/v1/projects/$PROJECT_ID/issues  -H "Authorization: Bearer $SERPEL_TOKEN" Research keywords Needs
          keywords:write and uses credits. A keyword research costs 8 credits plus 4 credits per block of 50 results, so 20 results cost 12 credits.
          The Idempotency-Key makes a retry safe. credits.charged and credits.balance show what the call cost and what is left. Terminal curl
          -X P'
  /api/v1/projects/$PROJECT_ID/rankings:
    get:
      operationId: get_api_v1_projects_PROJECT_ID_rankings
      tags:
      - Api
      summary: Read rankings for a project.
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_projects_PROJECT_ID_rankings
      tags:
      - Api
      summary: POST /api/v1/projects/$PROJECT_ID/rankings
      x-source: https://serpel.app/developers/rank-tracking-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ProjectsProjectIdRankingsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://serpel.app/api/v1/projects/$PROJECT_ID/rankings"  -H "Authorization: Bearer $SERPEL_TOKEN"  -H "Content-Type:
          application/json"  -d ''{"keywords":["keyword rank tracker"],"country":"US","language":"en","device":"mobile"}'''
  /api/v1/projects/$PROJECT_ID/rankings/run:
    post:
      operationId: post_api_v1_projects_PROJECT_ID_rankings_run
      tags:
      - Api
      summary: POST /api/v1/projects/$PROJECT_ID/rankings/run
      x-source: https://serpel.app/developers/rank-tracking-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://serpel.app/api/v1/projects/$PROJECT_ID/rankings/run"  -H "Authorization: Bearer $SERPEL_TOKEN"  -H "Content-Type:
          application/json"  -d ''{}'''
  /api/v1/projects/$PROJECT_ID/rankings/summary:
    get:
      operationId: get_api_v1_projects_PROJECT_ID_rankings_summary
      tags:
      - Api
      summary: GET /projects/{id}/rankings/summary Returns totals for the whole project in one call.
      x-source: https://serpel.app/developers/rank-tracking-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/tokens:
    post:
      operationId: post_api_v1_tokens
      tags:
      - Api
      summary: Create a new API token.
      x-source: https://serpel.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1TokensRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /auth/device/token:
    post:
      operationId: post_auth_device_token
      tags:
      - Auth
      summary: Exchange device code for a token
      x-source: https://serpel.app/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /billing/estimate:
    post:
      operationId: post_billing_estimate
      tags:
      - Billing
      summary: Estimate credit cost of an operation
      x-source: https://serpel.app/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /billing/ledger:
    get:
      operationId: get_billing_ledger
      tags:
      - Billing
      summary: GET /billing/ledger lists every booking
      x-source: https://serpel.app/developers/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /crawls/{id}/pages:
    get:
      operationId: get_crawls_id_pages
      tags:
      - Crawls
      summary: GET /crawls/{id}/pages lists the crawled URLs
      x-source: https://serpel.app/developers/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /crawls/{id}/pages/{pageid}:
    get:
      operationId: get_crawls_id_pages_pageid
      tags:
      - Crawls
      summary: GET /crawls/{id}/pages/{pageId} returns links, issues and signals for rendering, hreflang, structured data and soft 404s
      x-source: https://serpel.app/developers/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: pageid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /crawls/{id}/web-vitals:
    get:
      operationId: get_crawls_id_web_vitals
      tags:
      - Crawls
      summary: GET /crawls/{id}/web-vitals returns Core Web Vitals per URL and device
      x-source: https://serpel.app/developers/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /jobs/{id}:
    get:
      operationId: get_jobs_id
      tags:
      - Jobs
      summary: Read a job with status and result
      x-source: https://serpel.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /keyword-lists/{id}/refresh:
    post:
      operationId: post_keyword_lists_id_refresh
      tags:
      - Keyword Lists
      summary: Refresh keyword list metrics
      x-source: https://serpel.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /keywords/bing-stats:
    get:
      operationId: get_keywords_bing_stats
      tags:
      - Keywords
      summary: Get Bing impressions for a keyword
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /keywords/research:
    post:
      operationId: post_keywords_research
      tags:
      - Keywords
      summary: Start keyword research
      x-source: https://serpel.app/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /locations:
    get:
      operationId: get_locations
      tags:
      - Locations
      summary: Finds location codes for cities, postal codes and regions.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: country
        in: query
        required: false
        schema:
          type: string
        description: Country filter.
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: Search term for city or region.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLocationsResponse'
      x-evidence:
        kind: documentation
  /me:
    get:
      operationId: get_me
      tags:
      - Me
      summary: Get signed‑in user and token permissions
      x-source: https://serpel.app/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/competitors/comparison:
    get:
      operationId: get_projects_id_competitors_comparison
      tags:
      - Projects
      summary: Compares your positions with competitors, keyword by keyword.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectsIdCompetitorsComparisonResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/crawls:
    post:
      operationId: post_projects_id_crawls
      tags:
      - Projects
      summary: POST /projects/{id}/crawls starts a crawl
      x-source: https://serpel.app/developers/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdCrawlsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/crawls/compare:
    get:
      operationId: get_projects_id_crawls_compare
      tags:
      - Projects
      summary: GET /projects/{id}/crawls/compare shows new, fixed and changed issues between two crawls
      x-source: https://serpel.app/developers/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/rankings:
    get:
      operationId: get_projects_id_rankings
      tags:
      - Projects
      summary: Lists tracked keywords with latest position, change and ranking URL.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: Maximum number of keywords to return.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectsIdRankingsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_projects_id_rankings
      tags:
      - Projects
      summary: Adds keywords with country, language, device and location.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdRankingsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostProjectsIdRankingsResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/rankings/run:
    post:
      operationId: post_projects_id_rankings_run
      tags:
      - Projects
      summary: Starts a check for all or selected keywords and returns a job.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostProjectsIdRankingsRunResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/rankings/summary:
    get:
      operationId: get_projects_id_rankings_summary
      tags:
      - Projects
      summary: 'Totals: tracked, top 3, top 10, not found and average position.'
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectsIdRankingsSummaryResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/search-console/bing:
    patch:
      operationId: patch_projects_id_search_console_bing
      tags:
      - Projects
      summary: Update Bing connection settings
      x-source: https://serpel.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /rank-keywords/{id}/history:
    get:
      operationId: get_rank_keywords_id_history
      tags:
      - Rank Keywords
      summary: Returns the position history of one keyword.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRankKeywordsIdHistoryResponse'
      x-evidence:
        kind: documentation
  /rank-keywords/{id}/serp:
    get:
      operationId: get_rank_keywords_id_serp
      tags:
      - Rank Keywords
      summary: Returns the stored organic results of the last check.
      x-source: https://serpel.app/developers/rank-tracking-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRankKeywordsIdSerpResponse'
      x-evidence:
        kind: documentation
  /tokens:
    post:
      operationId: post_tokens
      tags:
      - Tokens
      summary: Create a new API token
      x-source: https://serpel.app/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1BillingEstimateRequest:
      type: object
      properties:
        operation:
          type: string
        params:
          type: object
      required:
      - operation
      - params
    PostApiV1KeywordsResearchRequest:
      type: object
      properties:
        mode:
          type: string
        keyword:
          type: string
        country:
          type: string
        language:
          type: string
        limit:
          type: integer
      required:
      - mode
      - keyword
      - country
      - language
    PostApiV1ProjectsRequest:
      type: object
      properties:
        domain:
          type: string
        name:
          type: string
        country:
          type: string
        language:
          type: string
      required:
      - domain
      - name
      - country
      - language
    PostApiV1ProjectsProjectIdCrawlsRequest:
      type: object
      properties:
        maxPages:
          type: integer
    PostApiV1ProjectsProjectIdIssuesRequest:
      type: object
      properties:
        mode:
          type: string
        keyword:
          type: string
        country:
          type: string
        language:
          type: string
        limit:
          type: integer
    PostApiV1ProjectsProjectIdIssuesResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            runId:
              type: string
            mode:
              type: string
            query:
              type: string
            country:
              type: string
            language:
              type: string
            cached:
              type: boolean
            items:
              type: array
              items:
                type: object
                properties:
                  keyword:
                    type: string
                  relation:
                    type: string
                  searchVolume:
                    type: integer
                  cpc:
                    type: number
                  keywordDifficulty:
                    type: integer
                  intent:
                    type: string
            credits:
              type: object
              properties:
                charged:
                  type: integer
                balance:
                  type: integer
    PostApiV1ProjectsProjectIdRankingsRequest:
      type: object
      properties:
        keywords:
          type: array
          items:
            type: string
        country:
          type: string
        language:
          type: string
        device:
          type: string
    PostApiV1TokensRequest:
      type: object
      properties:
        name:
          type: string
        scopes:
          type: array
        projectIds:
          type: array
        expiresInDays:
          type: integer
      required:
      - name
      - scopes
    GetLocationsResponse:
      type: object
      properties:
        locations:
          type: array
          description: List of matching location objects with codes.
    GetProjectsIdCompetitorsComparisonResponse:
      type: object
      properties:
        comparison:
          type: array
          description: Comparison data for each keyword.
    PostProjectsIdCrawlsRequest:
      type: object
      properties:
        maxPages:
          type: integer
    GetProjectsIdRankingsResponse:
      type: object
      properties:
        keywords:
          type: array
          description: Array of keyword objects with latest ranking data.
    PostProjectsIdRankingsRequest:
      type: object
      properties:
        keywords:
          type: array
          description: List of keyword strings to track.
        country:
          type: string
          description: Two‑letter country code.
        language:
          type: string
          description: Language code (e.g., "en").
        device:
          type: string
          description: 'Device type: "desktop" or "mobile".'
        location:
          type: string
          description: Google location code for local results.
      required:
      - keywords
    PostProjectsIdRankingsResponse:
      type: object
      properties:
        jobId:
          type: string
          description: Identifier of the asynchronous job created.
    PostProjectsIdRankingsRunResponse:
      type: object
      properties:
        jobId:
          type: string
          description: Identifier of the job that runs the check.
        alreadyRunning:
          type: boolean
          description: True if a check is already in progress for the project.
    GetProjectsIdRankingsSummaryResponse:
      type: object
      properties:
        totalTracked:
          type: integer
          description: Number of tracked keywords.
        top3:
          type: integer
          description: Keywords in top 3 positions.
        top10:
          type: integer
          description: Keywords in top 10 positions.
        notFound:
          type: integer
          description: Keywords not found in the check.
        averagePosition:
          type: number
          description: Average position across all keywords.
    GetRankKeywordsIdHistoryResponse:
      type: object
      properties:
        history:
          type: array
          description: Array of past position records.
    GetRankKeywordsIdSerpResponse:
      type: object
      properties:
        serp:
          type: object
          description: Organic results data from the latest check.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Auth
- name: Billing
- name: Crawls
- name: Jobs
- name: Keyword Lists
- name: Keywords
- name: Locations
- name: Me
- name: Projects
- name: Rank Keywords
- name: Tokens