# ChEMBL · Get target

Get health and medical data with ChEMBL · Get target from Alexandria through one Spiral API key. Read a target found through search_targets or a mechanism of action; then list_activities with its target_chembl_id for the compounds measured against it. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Health
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `ebi-ac-uk/targets/get_target`
- Page: https://spiral.ai/tools/alexandria/ebi-ac-uk/targets/get_target

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | text |  | — | ChEMBL target page, e.g. https://www.ebi.ac.uk/chembl/explore/target/CHEMBL203. |
| `chembl_id` | text |  | — | Target ChEMBL ID, e.g. CHEMBL203 (EGFR). Pattern: ^CHEMBL[0-9]{1,12}$. |
| `include_xrefs` | true or false |  | — | Add component cross-references (hundreds for well-studied proteins). |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ebi-ac-uk/targets/get_target",
    "input": {
      "chembl_id": "<chembl_id>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=ebi-ac-uk%2Ftargets%2Fget_target

## Common questions

### ChEMBL · Get target

**How much does ChEMBL · Get target cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use ChEMBL · Get target through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ebi-ac-uk/targets/get_target"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use ChEMBL · Get target?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use ChEMBL · Get target?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

