OmniRx Fact API

The Fact API from OmniRx — 1 operation(s) for fact.

GitHub OpenAPI

Operations 1

GET /fact/{id}.json One recorded fact as stored: value, source, read date, licence label, verifying… #

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/omnirx-org:omnirx-org-fact-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

omnirx-org-fact-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OmniRx static Fact API
  version: 1.0.0-evaluation
  description: 'Dated, provenance-stamped US drug-access facts (availability, price, assistance programs) pre-rendered from a frozen edition. Not clinical advice. Static files: no key, no rate limit, no uptime promise. Every answer lists the facts it rests on (receipts) and what it cannot say (unknown). Verify an edition root at https://omnirx.org/editions.json.'
  license:
    name: See https://omnirx.org/license
servers:
- url: https://omnirx.org
tags:
- name: Fact
paths:
  /fact/{id}.json:
    get:
      summary: 'One recorded fact as stored: value, source, read date, licence label, verifying…'
      operationId: fact_id_json
      parameters:
      - name: id
        in: path
        required: true
        description: a fact_id (24 hex characters)
        schema:
          type: string
          pattern: ^[0-9a-f]{24}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FactTwin'
        '404':
          description: 'No such file: only listed values exist'
      tags:
      - Fact
components:
  schemas:
    FactTwin:
      type: object
      required:
      - page
      - fact_id
      - edition
      - editionRoot
      - license
      - entity_type
      - entity_key
      - field
      - value_sha256
      - source_url
      - retrieved_at
      - method
      - verify
      - licence_status
      - licence_label
      properties:
        page:
          type: string
          pattern: ^https://omnirx\.org/fact/[0-9a-f]{24}$
        fact_id:
          type: string
          pattern: ^[0-9a-f]{24}$
        edition:
          type: string
        editionRoot:
          type: string
        license:
          type: string
        entity_type:
          type: string
        entity_key:
          type: string
        field:
          type: string
        value:
          description: the value as stored, parsed; null when it was not JSON
        value_sha256:
          type: string
          pattern: ^[0-9a-f]{64}$
          description: sha256 of the exact stored value text
        source_url:
          type: string
        retrieved_at:
          type: string
        source_version:
          type:
          - string
          - 'null'
        method:
          type: string
        verify:
          type: string
        licence_status:
          type: string
        licence_label:
          type: string
        quote:
          type:
          - string
          - 'null'
        quote_sha256:
          type:
          - string
          - 'null'
          pattern: ^[0-9a-f]{64}$
          description: sha256 of the exact stored quote text; null when the fact carries no quote
x-provenance:
  method: harvested
  publisher: OmniRx
  source: https://api.omnirx.org/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)