Talarion Fetch API

The fetch API from Talarion, for fetch.

GitHub OpenAPI

Operations 1

POST /v1/fetch Fetch archived page text #

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/talarion-com:talarion-com-fetch-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

talarion-com-fetch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Talarion Fetch API
  description: 'Talarion maintains a knowledge base of verified, dated assertions. Each assertion is structured as a Q/A pair and included in search results if and only if the querying LLM would otherwise answer the underlying question incorrectly. Each search query is mapped to a set of relevant assertions, each of which is rigorously timestamped and includes source URL(s) for provenance verification.


    Talarion is designed to power any LLM application which is world-state dependent. From global and local news to developments in financial markets, public policy and fundamental scientific research, Talarion scans the web and catalogues high-surprisal developments.'
  version: 1.0.0
  x-guidance: POST /v1/search with a JSON body containing `query`, a focused search question about one topic ("How is insurance coverage of GLP-1 obesity drugs changing?"), and get back dated, sourced facts that a model with a training cutoff would otherwise get wrong. Ask about the topic rather than a claim you already expect to hold, and make separate calls for separate topics rather than one long multi-part query. A response is never empty; the nearest available facts come back. Not useful for settled science, history, definitions, pure reasoning or creative writing, where nothing has changed recently. POST /v1/fetch takes `urls` (up to 20) and an optional `as_of` date and returns the archived text of those pages as they read then. Both endpoints take a workspace API key in `Authorization`, or no credential at all — in which case they answer 402 with a Machine Payments Protocol challenge and can be paid per call, search at a flat price and fetch quoted per document returned.
  contact:
    email: contact@talarion.tech
servers:
- url: https://api.talarion.com
  description: Production
security:
- workspaceKey: []
tags:
- name: Fetch
paths:
  /v1/fetch:
    post:
      tags:
      - Fetch
      summary: Fetch archived page text
      operationId: fetch
      security:
      - workspaceKey: []
      - {}
      description: 'Returns each URL''s most recent archived text snapshot at or before `as_of`, inline. A URL we hold nothing for as of that date answers with `text: null` inside a 200 — that is the answer, not an error; do not retry it.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FetchRequest'
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '0.050000'
          max: '1.000000'
          unit: document
        protocols:
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        description: $0.05 per document returned. The exact amount depends on how many of the requested URLs we hold text for at or before `as_of`, and is quoted in the 402 challenge. `min` is one document and `max` is the 20-URL ceiling; a request we hold nothing for is answered free with no challenge.
      responses:
        '200':
          description: One entry per requested URL, in request order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: 'Payment required. Either the workspace has no active subscription, or the request carried no API key and is being offered a Machine Payments Protocol challenge — see the `WWW-Authenticate: Payment` header, present only in the second case. The challenge quotes $0.05 for each document this request will return.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: A snapshot's bytes are not readable yet. Retry after the interval in the Retry-After header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable description of what went wrong.
    FetchRequest:
      type: object
      required:
      - urls
      properties:
        urls:
          type: array
          items:
            type: string
          description: 'Up to 20 URLs. Deduplicated server-side; extras beyond 20 are DROPPED, not rejected — deliberately no maxItems keyword here, for the same reason `k` carries no bounds: it would make generated clients reject requests the API accepts. URLs are normalized before lookup, so the spelling does not need to match the archived form.'
          examples:
          - - https://www.anthropic.com/news/claude-opus-4-8
        as_of:
          type:
          - string
          - 'null'
          format: date-time
          default: null
          description: Return each page's most recent snapshot at or before this instant, ISO 8601. Naive datetimes are treated as UTC. Defaults to now.
    FetchedDocument:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          description: The URL as it was sent.
        fetched_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When we fetched the text returned — the same date `as_of` filters on. `null` when no snapshot is held.
        text:
          type:
          - string
          - 'null'
          description: The page's extracted text. `null` when no text snapshot is held for the URL as of `as_of`.
    FetchResponse:
      type: object
      required:
      - results
      properties:
        as_of:
          type:
          - string
          - 'null'
          format: date-time
          description: The cutoff the results were selected against, echoed back; `null` when the request omitted it.
        results:
          type: array
          description: One entry per requested URL, in request order.
          items:
            $ref: '#/components/schemas/FetchedDocument'
  securitySchemes:
    workspaceKey:
      type: http
      scheme: bearer
      description: 'A workspace API key (prefix `tlrn_`), created at https://dashboard.talarion.com/api-keys and sent as `Authorization: Bearer <key>`. Optional on `/v1/search` and `/v1/fetch`: a request with no `Authorization` header is answered with a 402 payment challenge and can be paid per call over the Machine Payments Protocol, with the credential sent in `Payment-Authorization`.'
x-service-info:
  categories:
  - search
  - ai
  docs:
    homepage: https://talarion.com
    apiReference: https://docs.talarion.com/search
    llms: https://talarion.com/llms.txt