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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/tensorust-com:tensorust-com-history-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
openapi: 3.2.0
info:
title: Tensorust History API
version: 1.0.0
summary: 'Receipts-first data and free tools: real crates.io downloads, LLM API prices, The Manual, reports.'
description: 'Current values are free with no key: 60 requests a minute per IP; an enterprise key lifts the limits. Full history (/history/*, /bulk/*) and research need an enterprise API key (API Enterprise, $60,000 a year: https://tensorust.com/offers/enterprise-api/) sent as `Authorization: Bearer tdk_...` or `X-API-Key`. 60 requests a minute per IP (HTTP 429 with Retry-After beyond that). Every record has a `url` to cite and, for prices and numbers, a source and check date. Bulk JSON without limits: https://tensorust.com/data/v1/index.json. MCP server: https://mcp.tensorust.com/mcp. Data license: CC BY 4.0, credit Tensorust with a link.'
contact:
name: Tensorust
email: matt@tensorust.com
url: https://tensorust.com/developers/
license:
name: CC BY 4.0 (data)
url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://api.tensorust.com/v1
tags:
- name: History
description: Enterprise key
paths:
/history:
get:
tags:
- History
operationId: historyIndex
summary: History datasets, prices and how to pay (free)
responses:
'200':
description: Index
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/crates/{name}:
get:
tags:
- History
operationId: crateHistory
summary: Crate download history
description: Every day of crates.io downloads we have kept for one crate (beyond the 90 days crates.io shows), with release-window flags. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: name
in: path
required: true
description: Crate name, e.g. serde
schema:
type: string
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: Crate download history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/llm:
get:
tags:
- History
operationId: llmHistory
summary: AI API price history
description: Every dated price observation and change for OpenAI, Anthropic, Google and DeepSeek models (Mistral, xAI, Cohere, Groq, Together and Fireworks from Nov 15 2026). Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: model
in: query
required: false
description: Only this model (or use /history/llm/{model})
schema:
type: string
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: AI API price history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/llm/{model}:
get:
tags:
- History
operationId: llmModelHistory
summary: One model price history
description: Full price history of one AI API model, with dated changes. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: model
in: path
required: true
description: Model id, e.g. gpt-5-mini
schema:
type: string
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: One model price history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/gpu:
get:
tags:
- History
operationId: gpuHistory
summary: GPU price history
description: Daily cheapest and median rental price per GPU and per provider. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: gpu
in: query
required: false
description: Only this GPU
schema:
type: string
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: GPU price history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/gpu/{gpu}:
get:
tags:
- History
operationId: gpuOneHistory
summary: One GPU price history
description: Daily cheapest and median price for one GPU, and per provider. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: gpu
in: path
required: true
description: e.g. H100
schema:
type: string
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: One GPU price history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/uptime:
get:
tags:
- History
operationId: uptimeHistory
summary: Service uptime history
description: Uptime of 14 developer services by day or hour, with down/degraded counts and latency. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: service
in: query
required: false
description: Only this service
schema:
type: string
- name: res
in: query
required: false
description: day (default) or hour
schema:
type: string
enum:
- day
- hour
- name: days
in: query
required: false
description: 1-120
schema:
type: integer
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: Service uptime history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/history/uptime/{service}:
get:
tags:
- History
operationId: uptimeOneHistory
summary: One service uptime history
description: One service by day, hour, or every 5-minute check (res=check). Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: service
in: path
required: true
description: e.g. crates-io
schema:
type: string
- name: res
in: query
required: false
description: day, hour or check
schema:
type: string
enum:
- day
- hour
- check
- name: days
in: query
required: false
description: 1-120
schema:
type: integer
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: One service uptime history
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/bulk/crates:
get:
tags:
- History
operationId: cratesBulk
summary: Every crate download history in one file
description: Daily downloads of all 1,000+ tracked crates in one response (CSV recommended). Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
parameters:
- name: from
in: query
required: false
description: First day, YYYY-MM-DD
schema:
type: string
- name: to
in: query
required: false
description: Last day, YYYY-MM-DD
schema:
type: string
- name: format
in: query
required: false
description: json (default) or csv
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: Every crate download history in one file
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/audit/cargo-lock:
post:
tags:
- History
operationId: auditCargoLock
summary: Audit a Cargo.lock and get the exact fix commands
description: Every crates.io package in the lock file checked against RustSec/GitHub advisories (OSV) and yanked versions, with the cargo update commands that fix them inside your Cargo.toml requirements and the ones that need a manual bump. Needs an enterprise API key.
security:
- bearer: []
- apiKey: []
- {}
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- lock
properties:
lock:
type: string
description: Full text of Cargo.lock
responses:
'200':
description: Cargo.lock audit
content:
application/json:
schema:
$ref: '#/components/schemas/History'
text/csv:
schema:
type: string
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
components:
responses:
RateLimited:
description: Over 60 requests a minute; see Retry-After
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
type: object
properties:
error:
type: string
Error:
description: Error
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: What went wrong and how to fix the call
PaymentRequired:
description: Legacy x402 response; per-call payment is retired and paid calls now answer 401.
headers:
PAYMENT-REQUIRED:
schema:
type: string
content:
application/json:
schema:
type: object
properties:
error:
type: string
price:
type: object
accepts:
type: array
items:
type: object
schemas:
History:
type: object
properties:
dataset:
type: string
unit:
type: string
fields:
type: array
items:
type: string
since:
type:
- string
- 'null'
count:
type: integer
rows:
type: array
items:
type: array
license:
type: string
securitySchemes:
bearer:
type: http
scheme: bearer
description: Enterprise API key tdk_... (https://tensorust.com/offers/enterprise-api/)
apiKey:
type: apiKey
in: header
name: X-API-Key
externalDocs:
url: https://tensorust.com/developers/
description: Docs with curl, Python and JavaScript examples