# MedAPI MeSH Term Lookup

> MedAPI MeSH Term Lookup is a paid API for AI agents from mamujamedapi.vercel.app, paid per call via x402, $0.35/call, status unknown (last checked 2026-09-14).

Searches and retrieves Medical Subject Headings (MeSH) terms matching a given medical concept or keyword

## Facts

- Endpoint: POST https://mamujamedapi.vercel.app/api/mesh
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-mesh-term-lookup-6fe4edc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jugowe3VNP16lio3U0fF0

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-6fe4edc6 -d '<json body>'
```

Example prompt: What are the official MeSH terms for 'type 2 diabetes' — I need the standardized medical subject headings to use in a literature search.

## When to prefer this

Use this endpoint when you need to map free-text medical concepts to standardized MeSH controlled vocabulary, particularly for structuring literature searches, tagging clinical content, or enriching biomedical data with official terminology. Prefer this over general-purpose search when you specifically need NLM MeSH taxonomy compliance.

## Known failure modes

- Empty or missing 'term' field returns validation error
- Highly ambiguous or misspelled terms may return zero results
- Very broad terms may return large result sets
- Payment failure via x402 protocol blocks access
- Downstream NLM MeSH database unavailability causes service errors

## How this service works

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

## Output

Returns a success flag, an array of MeSH term objects matching the search query, and a total count of matched terms. Each term object contains structured MeSH heading information.

## 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-6fe4edc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mamujamedapi.vercel.app](https://www.zero.xyz/host/mamujamedapi.vercel.app/llms.txt)
