MedReveal Tin API
🏢 TIN/Provider Group lookup and search endpoints
🏢 TIN/Provider Group lookup and search endpoints
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/med-reveal-com:med-reveal-com-tin-api-api"
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.
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: 3.2.0
info:
title: MedReveal Tin API
description: '## Healthcare Price Transparency API
MedReveal API provides access to healthcare provider rate data, enabling you to build powerful analytics and price transparency tools.
### 🔐 Authentication
Protected endpoints require an API key. Include your key in the request header:
```
X-API-Key: your_api_key_here
```
### ⚡ Rate Limits
| Tier | Daily Limit | Rate Limit |
|------|-------------|------------|
| BASE | 100 requests/day | 10 requests/minute |
| PREMIUM | 10,000 requests/day | 100 requests/minute |
### 📚 Core Endpoints
| Endpoint | Description |
|----------|-------------|
| `/api/v1/npis/{npi}` | Lookup provider by NPI |
| `/api/v1/tins/{tin}` | Lookup provider group by TIN |
| `/api/v1/market/benchmarking` | Get market benchmark statistics |
| `/api/v1/provider/searchrates` | Search provider-specific rates |
| `/api/v1/taxonomy/{code}` | Lookup taxonomy code details |
### 🌐 Website
med-reveal.com | Developer Docs'
version: 1.0.0
tags:
- name: tin-api
description: 🏢 TIN/Provider Group lookup and search endpoints
paths:
/api/v1/tins/{tin}:
get:
tags:
- tin-api
summary: Get Tin
description: 'Get detailed information for a single TIN/Tax ID.
**Parameters:**
- tin: The Tax Identification Number (EIN or SSN format, 9 digits)
**Returns:**
Provider group details including: tin, groupName, states (list), cities (list), zipCodes (list), npiCount, affiliatedNpis (max 10)
Note: A TIN can have multiple locations, so states, cities, and zipCodes are returned as lists.'
operationId: get_tin_api_v1_tins__tin__get
parameters:
- name: tin
in: path
required: true
schema:
type: string
title: Tin
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TinResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/tins:
post:
tags:
- tin-api
summary: Batch Lookup Tins
description: 'Batch lookup multiple TINs.
**Rate Limits:**
- Maximum 10 TINs per request (all roles)
**Request Body:**
- tins: Array of TIN numbers to look up (max 10)
**Returns:**
List of found TINs with: tin, groupName, states (list), cities (list), zipCodes (list), npiCount, affiliatedNpis (max 10)
Note: A TIN can have multiple locations, so states, cities, and zipCodes are returned as lists.'
operationId: batch_lookup_tins_api_v1_tins_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TinLookupRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TinBatchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/tins/{tin}/npis:
get:
tags:
- tin-api
summary: Get Tin Npis
description: 'Get all NPIs affiliated with a TIN.
**Parameters:**
- tin: The Tax Identification Number (9 digits)
- limit: Maximum number of NPIs to return (max 100)
**Returns:**
List of NPI numbers affiliated with the TIN.'
operationId: get_tin_npis_api_v1_tins__tin__npis_get
parameters:
- name: tin
in: path
required: true
schema:
type: string
title: Tin
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
description: Maximum NPIs to return
default: 50
title: Limit
description: Maximum NPIs to return
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/tinSearch:
post:
tags:
- tin-api
summary: Search Tin Endpoint
description: 'Search for TINs/Provider Groups by various criteria.
**Rate Limits:**
- BASE: Maximum 50 results per page
- PREMIUM: Maximum 500 results per page
**Search Parameters (all optional):**
- groupName: Provider group/organization name (partial match)
- city: City name
- state: Two-letter state code
- insurance: Insurance company code (uhc, cigna, aetna, bcbs)
- npi: Affiliated NPI number
**Pagination:**
- page: Page number (starting from 1)
- pageSize: Results per page'
operationId: search_tin_endpoint_api_v1_tinSearch_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TinSearchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TinSearchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ResponseMeta:
properties:
requestId:
type: string
title: Requestid
timestamp:
type: string
title: Timestamp
role:
anyOf:
- type: string
- type: 'null'
title: Role
dailyLimit:
anyOf:
- type: integer
- type: 'null'
title: Dailylimit
remainingToday:
anyOf:
- type: integer
- type: 'null'
title: Remainingtoday
processingTime:
anyOf:
- type: string
- type: 'null'
title: Processingtime
type: object
required:
- requestId
- timestamp
title: ResponseMeta
description: Standard response metadata.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
TinLookupRequest:
properties:
tins:
items:
type: string
type: array
title: Tins
description: List of TIN/Tax IDs to look up
type: object
required:
- tins
title: TinLookupRequest
description: Request for batch TIN lookup.
TinResponse:
properties:
success:
type: boolean
title: Success
data:
anyOf:
- $ref: '#/components/schemas/TinDetails'
- type: 'null'
meta:
$ref: '#/components/schemas/ResponseMeta'
error:
anyOf:
- type: string
- type: 'null'
title: Error
message:
anyOf:
- type: string
- type: 'null'
title: Message
type: object
required:
- success
- meta
title: TinResponse
description: Single TIN lookup response.
TinSearchResponse:
properties:
success:
type: boolean
title: Success
data:
items:
$ref: '#/components/schemas/TinDetails'
type: array
title: Data
meta:
$ref: '#/components/schemas/ResponseMeta'
pagination:
$ref: '#/components/schemas/PaginationInfo'
type: object
required:
- success
- data
- meta
- pagination
title: TinSearchResponse
description: TIN search response.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
TinSearchRequest:
properties:
groupName:
anyOf:
- type: string
- type: 'null'
title: Groupname
description: Provider group name (partial match)
city:
anyOf:
- type: string
- type: 'null'
title: City
description: City name
state:
anyOf:
- type: string
- type: 'null'
title: State
description: Two-letter state code
insurance:
anyOf:
- type: string
- type: 'null'
title: Insurance
description: Insurance company code
npi:
anyOf:
- type: string
- type: 'null'
title: Npi
description: Affiliated NPI number
page:
type: integer
minimum: 1.0
title: Page
description: Page number
default: 1
pageSize:
type: integer
maximum: 500.0
minimum: 1.0
title: Pagesize
description: Results per page
default: 50
type: object
title: TinSearchRequest
description: Request for TIN search.
TinBatchResponse:
properties:
success:
type: boolean
title: Success
data:
items:
$ref: '#/components/schemas/TinDetails'
type: array
title: Data
meta:
$ref: '#/components/schemas/ResponseMeta'
found:
type: integer
title: Found
notFound:
items:
type: string
type: array
title: Notfound
type: object
required:
- success
- data
- meta
- found
- notFound
title: TinBatchResponse
description: Batch TIN lookup response.
TinDetails:
properties:
tin:
type: string
title: Tin
groupName:
anyOf:
- type: string
- type: 'null'
title: Groupname
cities:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Cities
states:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: States
zipCodes:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Zipcodes
npiCount:
anyOf:
- type: integer
- type: 'null'
title: Npicount
affiliatedNpis:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Affiliatednpis
type: object
required:
- tin
title: TinDetails
description: Detailed TIN/Provider Group information.
PaginationInfo:
properties:
page:
type: integer
title: Page
pageSize:
type: integer
title: Pagesize
totalResults:
type: integer
title: Totalresults
totalPages:
type: integer
title: Totalpages
type: object
required:
- page
- pageSize
- totalResults
- totalPages
title: PaginationInfo
description: Pagination information for list responses.