# x402 Gene Search API

> x402 Gene Search API is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Searches for gene information by gene name, returning structured biological data about the queried gene, paid via x402 micropayment protocol.

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/health/gene?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gene-search-api-46b612ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qEtaInEx7Jd2sBa0oY-Mo

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 x402-gene-search-api-46b612ee
```

Example prompt: Can you look up gene information for insulin and return its name and any available details?

## When to prefer this

Use this endpoint when you need quick, pay-per-call gene lookup without a subscription, especially in agentic workflows that require occasional genomic data enrichment. Ideal when you want micropayment-based access (USDC via x402) rather than a traditional API key model. Prefer this over full bioinformatics APIs when you only need lightweight gene name-to-data resolution.

## Known failure modes

- Missing required 'q' parameter returns an error
- Unknown or misspelled gene name may return empty results or an error
- Payment failure via x402 protocol results in 402 Payment Required response
- Network timeout if the underlying gene data source is unavailable
- Invalid field names in the 'fields' parameter may be silently ignored or return an error

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

A JSON object containing structured information about the queried gene, potentially including name, description, function, aliases, and other biological metadata. The exact fields returned can be filtered using the optional 'fields' parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Requires a gene symbol or name text string, e.g. insulin"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gene-search-api-46b612ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
