UnoRouter Rankings API

The Rankings API from UnoRouter, for rankings.

GitHub OpenAPI

Operations 4

GET /api/rankings Get Rankings #
GET /api/rankings/model Get Model Ranking #
GET /api/rankings/price-drops Get Price Drops #
GET /api/rankings/price-history Get Model Price History #

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/unorouter-com:unorouter-com-rankings-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

unorouter-com-rankings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: ' '
  title: New Rankings API
  version: 0.0.1
tags:
- name: Rankings
paths:
  /api/rankings:
    get:
      operationId: getRankings
      parameters:
      - description: 'Ranking period: today|week|month|year (default week)'
        in: query
        name: period
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_service.RankingsResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_service.RankingsResponse'
          description: OK
      security:
      - {}
      summary: Get Rankings
      tags:
      - Rankings
  /api/rankings/model:
    get:
      operationId: getModelRanking
      parameters:
      - description: Model name (required)
        in: query
        name: model
        schema:
          type: string
      - description: 'Ranking period: today|week|month|year (default week)'
        in: query
        name: period
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_service.ModelRankingResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_service.ModelRankingResponse'
          description: OK
      security:
      - {}
      summary: Get Model Ranking
      tags:
      - Rankings
  /api/rankings/price-drops:
    get:
      operationId: getPriceDrops
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_service.PriceDropsResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_service.PriceDropsResponse'
          description: OK
      security:
      - {}
      summary: Get Price Drops
      tags:
      - Rankings
  /api/rankings/price-history:
    get:
      operationId: getModelPriceHistory
      parameters:
      - description: Model name (required)
        in: query
        name: model
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_service.ModelPriceHistory'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_service.ModelPriceHistory'
          description: OK
      security:
      - {}
      summary: Get Model Price History
      tags:
      - Rankings
components:
  schemas:
    PriceDropsResponse:
      properties:
        drops:
          items:
            $ref: '#/components/schemas/PriceDrop'
          type: array
      required:
      - drops
      type: object
    Response_service.RankingsResponse:
      description: Response_service.RankingsResponse schema
      properties:
        data:
          $ref: '#/components/schemas/RankingsResponse'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    VendorShareVendor:
      properties:
        name:
          type: string
        share:
          format: double
          type: number
        total:
          format: int64
          type: integer
      required:
      - name
      - share
      - total
      type: object
    ModelRankingPoint:
      properties:
        label:
          type: string
        tokens:
          format: int64
          type: integer
        ts:
          type: string
      required:
      - label
      - tokens
      - ts
      type: object
    PriceDrop:
      properties:
        completion_ratio:
          format: double
          type: number
        day:
          type: string
        drop_pct:
          format: double
          type: number
        group:
          type: string
        model_name:
          type: string
        previous_ratio:
          format: double
          type: number
        ratio:
          format: double
          type: number
        vendor:
          type: string
      required:
      - completion_ratio
      - day
      - drop_pct
      - group
      - model_name
      - previous_ratio
      - ratio
      - vendor
      type: object
    RankingsResponse:
      properties:
        models:
          items:
            $ref: '#/components/schemas/RankedModel'
          type: array
        models_history:
          $ref: '#/components/schemas/ModelHistorySeries'
        top_droppers:
          items:
            $ref: '#/components/schemas/RankingMover'
          type: array
        top_movers:
          items:
            $ref: '#/components/schemas/RankingMover'
          type: array
        vendor_share_history:
          $ref: '#/components/schemas/VendorShareSeries'
        vendors:
          items:
            $ref: '#/components/schemas/RankedVendor'
          type: array
      required:
      - models
      - models_history
      - top_droppers
      - top_movers
      - vendor_share_history
      - vendors
      type: object
    ModelHistorySeries:
      properties:
        buckets:
          type: integer
        models:
          items:
            $ref: '#/components/schemas/ModelHistoryModel'
          type: array
        points:
          items:
            $ref: '#/components/schemas/ModelHistoryPoint'
          type: array
      required:
      - buckets
      - models
      - points
      type: object
    PricePoint:
      properties:
        completion_ratio:
          format: double
          type: number
        day:
          type: string
        group:
          type: string
        ratio:
          format: double
          type: number
        requests:
          format: int64
          type: integer
      required:
      - completion_ratio
      - day
      - group
      - ratio
      - requests
      type: object
    ModelRankingResponse:
      properties:
        growth_pct:
          format: double
          type: number
        model_name:
          type: string
        period:
          type: string
        rank:
          type: integer
        series:
          items:
            $ref: '#/components/schemas/ModelRankingPoint'
          type:
          - array
          - 'null'
        share:
          format: double
          type: number
        total_tokens:
          format: int64
          type: integer
      required:
      - growth_pct
      - model_name
      - period
      - rank
      - series
      - share
      - total_tokens
      type: object
    ModelPriceHistory:
      properties:
        best:
          $ref: '#/components/schemas/PricePoint'
        days:
          items:
            $ref: '#/components/schemas/PricePoint'
          type: array
        model_name:
          type: string
      required:
      - days
      - model_name
      type: object
    RankedVendor:
      properties:
        growth_pct:
          format: double
          type: number
        models_count:
          type: integer
        rank:
          type: integer
        share:
          format: double
          type: number
        top_model:
          type: string
        total_tokens:
          format: int64
          type: integer
        vendor:
          type: string
        vendor_icon:
          type: string
      required:
      - growth_pct
      - models_count
      - rank
      - share
      - top_model
      - total_tokens
      - vendor
      type: object
    VendorShareSeries:
      properties:
        buckets:
          type: integer
        points:
          items:
            $ref: '#/components/schemas/VendorSharePoint'
          type: array
        vendors:
          items:
            $ref: '#/components/schemas/VendorShareVendor'
          type: array
      required:
      - buckets
      - points
      - vendors
      type: object
    RankingMover:
      properties:
        current_rank:
          type: integer
        growth_pct:
          format: double
          type: number
        model_name:
          type: string
        rank_delta:
          type: integer
        vendor:
          type: string
        vendor_icon:
          type: string
      required:
      - current_rank
      - growth_pct
      - model_name
      - rank_delta
      - vendor
      type: object
    Response_service.PriceDropsResponse:
      description: Response_service.PriceDropsResponse schema
      properties:
        data:
          $ref: '#/components/schemas/PriceDropsResponse'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    Response_service.ModelRankingResponse:
      description: Response_service.ModelRankingResponse schema
      properties:
        data:
          $ref: '#/components/schemas/ModelRankingResponse'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    VendorSharePoint:
      properties:
        label:
          type: string
        share:
          format: double
          type: number
        tokens:
          format: int64
          type: integer
        ts:
          type: string
        vendor:
          type: string
      required:
      - label
      - share
      - tokens
      - ts
      - vendor
      type: object
    ModelHistoryModel:
      properties:
        name:
          type: string
        total:
          format: int64
          type: integer
        vendor:
          type: string
      required:
      - name
      - total
      - vendor
      type: object
    RankedModel:
      properties:
        category:
          type: string
        growth_pct:
          format: double
          type: number
        model_name:
          type: string
        previous_rank:
          nullable: true
          type: integer
        rank:
          type: integer
        share:
          format: double
          type: number
        total_tokens:
          format: int64
          type: integer
        vendor:
          type: string
        vendor_icon:
          type: string
      required:
      - category
      - growth_pct
      - model_name
      - rank
      - share
      - total_tokens
      - vendor
      type: object
    ModelHistoryPoint:
      properties:
        label:
          type: string
        model:
          type: string
        tokens:
          format: int64
          type: integer
        ts:
          type: string
        vendor:
          type: string
      required:
      - label
      - model
      - tokens
      - ts
      - vendor
      type: object
    Response_service.ModelPriceHistory:
      description: Response_service.ModelPriceHistory schema
      properties:
        data:
          $ref: '#/components/schemas/ModelPriceHistory'
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
  securitySchemes:
    accessToken:
      description: System access token for dashboard API routes. Must be paired with New-Api-User header.
      in: header
      name: Authorization
      type: apiKey
    anthropicApiKey:
      description: Anthropic-style API key. Used by /v1/messages and /v1/models.
      in: header
      name: x-api-key
      type: apiKey
    bearerAuth:
      description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
      scheme: bearer
      type: http
    newApiUser:
      description: User ID header. Required together with the access token or session cookie for dashboard API routes.
      in: header
      name: New-Api-User
      type: apiKey
    sessionAuth:
      description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
      in: cookie
      name: session
      type: apiKey