KeyVex Open Payments API

The Open Payments API from KeyVex — 1 operation(s) for open payments.

GitHub OpenAPI

Operations 1

GET /v1/open-payments Returns CMS Open Payments records — the Sunshine Act database of every payment… #

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/keyvex-com:keyvex-com-open-payments-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

keyvex-com-open-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVex Open Payments API
  version: 0.102.0
  termsOfService: https://keyvex.com/terms
  description: 'US public financial-disclosure data — congressional trades, insider filings (Form 4), lobbying, Treasury auctions, member profiles. Requires an API key — create a free one at https://keyvex.com and send it as the header `x-api-key: `. A free key returns most public-record datasets (one year of history; no market-price data and a few heavy datasets are on paid plans only), capped at 60 requests/day; paid plans raise the caps. The daily allowance resets at midnight Eastern.'
servers:
- url: https://api.keyvex.com
security:
- ApiKeyAuth: []
tags:
- name: Open Payments
paths:
  /v1/open-payments:
    get:
      operationId: get_open_payments
      summary: Returns CMS Open Payments records — the Sunshine Act database of every payment…
      description: 'Returns CMS Open Payments records — the Sunshine Act database of every payment / transfer of value from drug + device manufacturers and GPOs to US physicians, non-physician practitioners, and teaching hospitals (~15M records per program year, 2019→present). LIVE passthrough to CMS''s own API: results reflect CMS''s current data and `total_count` is CMS''s authoritative count for the filtered query (the results array is just the requested page). Use this when the user asks about: pharma/device money to doctors, a company''s physician-payment footprint, speaker-fee / consulting / royalty programs, industry funding of research (with ClinicalTrials.gov IDs), or physician ownership stakes in manufacturers. payment_type selects the dataset (schemas differ; rows are CMS''s fields verbatim): general (default) — meals, travel, consulting, speaker fees, royalties, honoraria. Fields incl. nature_of_payment_or_transfer _of_value, name_of_drug_or_biological_or_device_or_medical _supply_1, covered_recipient_specialty_1. research — research payments incl. name_of_study, clinicaltrials_gov_identifier, preclinical_research_indicator. ownership — physician ownership/investment interests (total_amount_invested_usdollars, value_of_interest, terms_of_interest); recipient fields are physician_*. summarize=true returns CMS''s own pre-aggregated per-(company, nature) totals for the year — transaction counts + dollar totals per payment nature. The nature codes in that dataset ship without a public CMS legend; KeyVex labels the seven codes it has VERIFIED by exact count+total reconciliation against detail data (1=Consulting Fee, 2=Speaker/faculty compensation, 6=Food and Beverage, 7=Travel and Lodging, 9=Charitable Contribution, 10=Royalty or License, 14=Grant); unverified codes pass through with an empty label rather than a guess. Matching: company is a substring (matches subsidiaries: ''pfizer'' catches PFIZER INC.); recipient names are EXACT (CMS stores uppercase; we uppercase for you); npi is the exact National Provider Identifier — the precise join key to get_oig_exclusions. Payments are attributed to the manufacturer AS FILED — no ticker/CIK; try the operating-company name. Program years: 2019 through the latest published year (CMS refreshes semiannually; year defaults to the latest). Pagination: limit ≤ 500 per page (CMS cap), use offset for more. Pure-publisher posture: CMS''s records as filed, parsed by KeyVex (the source record is authoritative) — no derived influence scores. Disclosure ≠ wrongdoing; these are lawful, statutorily-disclosed payments.'
      parameters:
      - name: year
        in: query
        required: false
        description: 'Program year (e.g., 2023). Default: latest published year.'
        schema:
          type: integer
      - name: payment_type
        in: query
        required: false
        description: 'Dataset: general (default — meals/consulting/speaker fees), research, or ownership (physician stakes).'
        schema:
          type: string
          enum:
          - general
          - research
          - ownership
      - name: company
        in: query
        required: false
        description: Substring against the paying manufacturer / GPO name (e.g., 'pfizer', 'medtronic').
        schema:
          type: string
      - name: recipient_last_name
        in: query
        required: false
        description: Recipient physician / practitioner last name (exact, case-insensitive).
        schema:
          type: string
      - name: recipient_first_name
        in: query
        required: false
        description: Recipient first name (exact, case-insensitive).
        schema:
          type: string
      - name: npi
        in: query
        required: false
        description: Recipient National Provider Identifier (exact, 10 digits). Precise join key to get_oig_exclusions.
        schema:
          type: string
      - name: state
        in: query
        required: false
        description: Two-letter recipient state code (e.g., 'TX').
        schema:
          type: string
      - name: nature
        in: query
        required: false
        description: Substring against nature of payment (general only; e.g., 'consulting', 'speaker', 'royalty', 'food').
        schema:
          type: string
      - name: product
        in: query
        required: false
        description: Substring against the associated drug / device name (general only; e.g., 'eliquis', 'ozempic').
        schema:
          type: string
      - name: summarize
        in: query
        required: false
        description: true = CMS's pre-aggregated per-(company, nature) yearly totals instead of individual payments.
        schema:
          type: boolean
      - name: limit
        in: query
        required: false
        description: Records per page. Default 25, max 500 (CMS page cap).
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Pagination offset into the filtered result set.
        schema:
          type: integer
      responses:
        '200':
          description: 'JSON envelope: { results: [...], count, has_more }.'
        '400':
          description: Invalid parameter.
        '401':
          description: Missing or invalid API key.
        '402':
          description: This tool requires a higher plan (upgrade_required). Retrying will not help.
        '429':
          description: Tier rate/quota limit reached (rate_limited). Retry-After points at the reset.
      tags:
      - Open Payments
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key