# MedAPI MeSH Term Lookup

> MedAPI MeSH Term Lookup is a paid API for AI agents from madapi.tempochan.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Searches MeSH (Medical Subject Headings) vocabulary for medical terms, returning matching controlled vocabulary entries used in biomedical literature indexing

## Facts

- Endpoint: POST https://madapi.tempochan.xyz/api/mesh
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-mesh-term-lookup-62da57d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bf7NiAFBGsFKfyJxkBVBA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability medapi-mesh-term-lookup-62da57d2 -d '<json body>'
```

Example prompt: Can you look up the MeSH terms for 'type 2 diabetes mellitus' so I can use the standardized medical subject headings in a PubMed literature search?

## When to prefer this

Use this endpoint when you need to resolve free-text medical concepts into standardized NLM MeSH controlled vocabulary terms, particularly as a preprocessing step before constructing PubMed queries or tagging biomedical content with canonical terminology. Prefer this over general medical search when you specifically need MeSH headings rather than drug data, adverse events, or clinical trial records.

## Known failure modes

- Empty or vague term returns zero results with success:true and empty terms array
- Misspelled or non-medical term returns no matches
- Network timeout or service unavailability returns HTTP error
- Payment failure via x402 prevents access to endpoint
- Term too broad may return large unfiltered result set

## How this service works

Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.

## Output

Returns a JSON object with a success flag, an array of matching MeSH term objects (each containing structured term metadata), and a total count of results found for the queried term.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "term"
 ],
 "properties": {
  "term": {
   "type": "string",
   "description": "term"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "terms": {
     "type": "array",
     "items": {
      "type": "object"
     }
    },
    "total": {
     "type": "integer"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medapi-mesh-term-lookup-62da57d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from madapi.tempochan.xyz](https://www.zero.xyz/host/madapi.tempochan.xyz/llms.txt)
