API product

Core

Find a dataset, read its rules, resolve a company or a provider, and run your own SQL.

Sub-APIs
4
Tools
14
With a real answer
13
Doors
2REST, MCP
every dataset·included with every product

Sub-APIs

Sub-APIThe question it answersTools
DiscoverWhat data is there for my question, and how do I use it correctly?find_data_sources, describe_data_source, find_views, describe_schema, how_to_join, certified_measure
ResolveWhich company, plan or provider is this name or number?resolve_entity, describe_entity, resolve_provider
QueryRun my own read-only SQL over the catalog.query_substrate, query
Bulk laneRun a heavy query in the background and fetch the result.submit_query, poll_query, fetch_query

Discover

What data is there for my question, and how do I use it correctly?
ToolReturnsRequiredAnswer
find_data_sources
v1.0.0
Search the Vlada substrate catalog by keyword.none0.79s
describe_data_source
v1.3.0
Return the catalog record for one substrate data source.source_fqn0.95s
find_views
v1.0.0
Look up the vetted analytic VIEWS for a question before you query.none0.12s
describe_schema
v1.0.0
Return the semantic layer: marts, columns, invariants, canonical payers, and the tools YOU can call (the same list tools/list returns for you, never a wider catalog).none0.08s
how_to_join
v1.3.0
Return the fail-closed measured way to join two Vlada substrate tables, including an explicit DIRECT_OK, DIRECT_DECLARED_KEY, NEEDS_GRAIN, ROUTE_THROUGH_DIM, ROUTE_MULTIHOP, or DO_NOT_SERVE directive.table_a0.06s
certified_measure
v1.0.0
Run a GOVERNED KPI by name from the certified measures registry.none0.03s
curl -X POST https://api.vladahealth.com/v1/tools/find_data_sources \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"query":"medicare physician fee schedule","limit":5}'
the answer a customer got·0.79s·status partial·first lines; full answer on find_data_sources·verbatim
{
 "value": {
  "query": "medicare physician fee schedule",
  "filters": null,
  "verbosity": "compact",
  "status": "matched",
  "retrieval_mode": "lexical",
  "scope_verification": {
   "status": "not_verified",
   "basis": "catalog_match_only",
   "geography": "not_verified",
   "time_coverage": "not_verified",
   "population": "not_verified",
   "completeness": "not_verified"
  },
  "ranker": "authored_data_point_scorer",
  "excludes": "retired",
  "data_points": [
   {
    "rank": 1,
    "world": "w2",
    "data_point": {
     "id": "w2.puf.physician_avg_medicare_allowed",
     "name": "Medicare average allowed amount by provider and service",
     "unit": "USD_per_service",
     "kind": "measure"
    },
    "source": {
     "id": "cms_puf_physician_other_practitioners",
     "source_code": "cms_puf_physician_other_practitioners",
     "title": "Medicare Physician & Other Practitioners public use files (by provider and service; by geography and service)",
     "how_to_reach_it": "sql"
    },
    "location": {
     "table": "medicare_silver.fact_physician_by_provider_service",
     "column": "avg_medicare_allowed",
     "variants": [
      "paid=avg_medicare_payment",
      "standardized=avg_medicare_standardized",
      "submitted=avg_submitted_charge",
      "services=tot_services",
      "beneficiaries=tot_benes"
     ],
     "required_filters": [
      "is_current=true"
     ]
    },
    "trap": {
     "must_read": "Always filter data_year and a state or code; averages of paid claims; null is suppressed.",
     "ids": [
      "data_year_pin",
      "claims_average_not_fee_schedule",
      "small_cell_suppressed_null",
      "heavy_scan"
     ]
    },
    "next": "bounded query_substrate on medicare_silver.fact_physician_by_provider_service",
    "fetch": "descri
…

Resolve

Which company, plan or provider is this name or number?
ToolReturnsRequiredAnswer
resolve_entity
v2.1.0
Resolve any company name or ID to Vlada's canonical entity: a legal entity (le:...), a brand, an NAIC group, a CMS contract (H1234), a plan (H1234-001@2027), a Medicaid plan, a Marketplace issuer (HIOS).text4.24s
describe_entity
v2.1.0
Everything layer one holds about one entity (an entity_id from resolve_entity): what it is and its identifiers; who owned or controlled it on a date (on=YYYY-MM-DD, default today),entity_id15.2s
resolve_provider
v1.0.0
Resolve a provider's identity: an NPI, an EIN, or an organisation name (+ state) -> the Medicare CCN(s) it maps to, the CCN's provider type from the CCN authority (vlada_curated.dinone12.14s
curl -X POST https://api.vladahealth.com/v1/tools/resolve_entity \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"text":"Humana Inc."}'
the answer a customer got·4.24s·status complete·first lines; full answer on resolve_entity·verbatim
{
 "value": {
  "found": true,
  "status": "found",
  "not_found_reason": null,
  "query": {
   "text": "Humana Inc.",
   "on": null
  },
  "candidates": [
   {
    "entity_id": "le:000009",
    "kind": "legal_entity",
    "label": "Humana Inc.",
    "matched_on": [
     "name=Humana Inc.",
     "label=Humana Inc."
    ],
    "score": 1.0,
    "redirect_from": null
   }
  ],
  "shapes_recognised": [],
  "recover_with": [],
  "next": "describe_entity(entity_id=<a candidate's entity_id>, on=<date>)"
 },
 "unit": "ontology_entity",
 "vintage": "2026-10-28",
 "source": {
  "dataset": "Vlada ontology layer one (who holds and who owns every payer instrument, over time)",
  "publisher": "vlada",
  "catalog_updated_at": "2026-10-28"
 },
 "caveats": [
  "Scope: legal entities, brands and NAIC groups; Medicare Advantage and Part D contracts and plans (2006-), Medicaid managed care plans (2017-), Marketplace issuers (2017-); who holds and who owns them over time, with sourced deal events. Facilities, doctors, networks and PBMs are later layers and are not here; use resolve_provider for a CCN or NPI."
 ],
 "response_hash": "8392da4fa816dd83869de7d70d18c4387d7ecd42181cdfd482400dd8e4f1e269",
 "semantic_version": 1,
 "tool_version": "resolve_entity@2.1.0",
 "explanation": null,
 "status": "complete",
 "audience": "customer",
 "answer": {
  "value_ref": "value",
  "unit": "ontology_entity",
  "scope": {
   "tool": "resolve_entity",
   "filters": {
    "text": "Humana Inc.",
    "limit": 25
   }
  }
 },
 "method": "Computed over the filters shown in this answer's scope, from the sources listed in its evidence. Nothing outside those filters was included. You did not specify limit; 25 was used.",
 "evidence": {
  "sources": [
   {
    "dataset": "Vlada ontology layer one (who holds and wh
…

Query

Run my own read-only SQL over the catalog.
ToolReturnsRequiredAnswer
query_substrate
v1.1.0
Set fresh=true for a user-requested saved-view update: execute without the result cache; all access and scan limits still apply.sql1.99s
query
v0.3.0
SAFE STUB. Given a catalog source FQN, return HOW to query it FROM THIS MCP -- and only paths executable here: query_substrate (sync, small) or submit_query -> poll_query -> fetch_source_fqn0.64s
curl -X POST https://api.vladahealth.com/v1/tools/query_substrate \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"sql":"SELECT * FROM medicare_silver.dim_hospital_quality LIMIT 3","max_rows":3}'
the answer a customer got·1.99s·status partial·first lines; full answer on query_substrate·verbatim
{
 "value": {
  "rows": [
   {
    "ccn": "350002",
    "facility_name": "CHI ST ALEXIUS HEALTH",
    "city": "BISMARCK",
    "state_cd": "ND",
    "zip_cd": "58501",
    "county_parish": "BURLEIGH",
    "hospital_type": "Acute Care Hospitals",
    "hospital_ownership": "Voluntary non-profit - Church",
    "emergency_services": true,
    "birthing_friendly": "Y",
    "overall_rating": 4,
    "overall_rating_footnote": null,
    "observed_period": "2026-09-22",
    "asserted_at": "2026-09-22",
    "effective_period_start": "2026-09-22",
    "effective_period_end": "2099-12-31",
    "cms_vintage_sequence": 1,
    "parse_revision": 1,
    "parser_artifact_hash": "01dfeeb3d0b7f7f8f6b2ef70abdfe464d9a56c02bdab90047222ec71d2472511",
    "source_url": "https://data.cms.gov/provider-data/sites/default/files/resources/893c372430d9d71a1c52737d01239d47_1785189955/Hospital_General_Information.csv",
    "sha256_content_hash": "f874f09fef895a1ccf5bb7392dcbb2be05c9860339261b093fe00f0c1b013480",
    "source_id": "cms_hospital_general_information",
    "is_current": true,
    "bronze_object_key": null,
    "s3_version_id": null,
    "vintage_tag": "general_info_2026-09-22",
    "drug_source_version_id": null,
    "latitude": null,
    "longitude": null
   },
   {
    "ccn": "350006",
    "facility_name": "TRINITY HOSPITALS",
    "city": "MINOT",
    "state_cd": "ND",
    "zip_cd": "58701",
    "county_parish": "WARD",
    "hospital_type": "Acute Care Hospitals",
    "hospital_ownership": "Voluntary non-profit - Private",
    "emergency_services": true,
    "birthing_friendly": "Y",
    "overall_rating": 3,
    "overall_rating_footnote": null,
    "observed_period": "2026-09-22",
    "asserted_at": "2026-09-22",
    "effective_period_start": "2026-09-22",
    "effective_period_end": "2099
…

Bulk lane

Run a heavy query in the background and fetch the result.
ToolReturnsRequiredAnswer
submit_query
v1.1.0
Submit a heavy/long-running query to run OFF the request path and get a job_id back immediately, instead of blocking (and risking a timeout) on a statewide/cross-hospital scan.tool0.16s
poll_query
v1.0.0
Poll the status of an async job submitted with submit_query.job_id0.03s
fetch_query
v1.0.0
Fetch the result of an async job once it is done.job_idpending
curl -X POST https://api.vladahealth.com/v1/tools/submit_query \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"tool":"prove_commercial_price","arguments":{"payer":"cigna","version_id":"2026-05","state":"CT","code":"99213"}}'
the answer a customer got·0.16s·status complete·complete·verbatim
{
 "value": {
  "accepted": true,
  "job_id": "7bf34726646a4d4f9b3020e61eb30de3",
  "status": "queued",
  "tool": "compare_hospital_rates",
  "poll_with": "poll_query",
  "fetch_with": "fetch_query"
 },
 "unit": null,
 "vintage": null,
 "methodology": null,
 "caveats": [],
 "response_hash": "0b213afd1607977343680d710e0559905e3e0866a62bce635ded2aaa14eea60a",
 "semantic_version": 1,
 "tool_version": "submit_query@1.1.0",
 "explanation": null,
 "status": "complete",
 "audience": "customer",
 "answer": {
  "value_ref": "value",
  "scope": {
   "tool": "submit_query",
   "filters": {
    "tool": "prove_commercial_price",
    "force": false
   }
  }
 },
 "method": "Computed over the filters shown in this answer's scope, from the sources listed in its evidence. Nothing outside those filters was included. You did not specify force; no was used.",
 "evidence": {
  "response_hash": "0b213afd1607977343680d710e0559905e3e0866a62bce635ded2aaa14eea60a"
 },
 "defaults_applied": [
  {
   "param": "force",
   "used": false,
   "reason": "tool default"
  }
 ],
 "freshness": {
  "state": "unknown",
  "why": "This tool does not report an edition for its answer, and the door could not derive one from what the answer reads. Treat the result as current to no stated date."
 }
}

Limits

  1. 1Your own SQL is read-only and row-capped by plan.
  2. 2The bulk lane (submit, poll, fetch) is for work past the 40-second budget and is not on every plan.

What sets it apart

Comes with every product. The catalog names each table's traps before you query it.

This page as markdown: /docs-md/products/core.md · every page in one file: /llms-full.txt