# KEYRING AGENT Buy Token

> KEYRING AGENT Buy Token is a free API for AI agents from keyring-agent.blockchhub.link, callable via x402, Free, status unknown (last checked 2026-10-12).

Executes a DeFi token purchase transaction via the Keyring Agent assistant

## Facts

- Endpoint: GET https://keyring-agent.blockchhub.link/api/buy-token?utm_source=zero.xyz
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keyring-agent-buy-token-504cd753
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__L_sq_IJcOIbf728XcT69

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 keyring-agent-buy-token-504cd753
```

Example prompt: Use Keyring Agent to buy some ETH tokens for me right now — go ahead and execute the purchase.

## When to prefer this

Use this endpoint when you need to programmatically execute a token buy order via a DeFi assistant interface, particularly when integrated into an x402 payment-capable agent workflow.

## Known failure modes

- Missing or invalid required parameters returns an error
- Network or blockchain congestion may delay or fail the transaction
- Insufficient funds or token liquidity may cause purchase failure
- Invalid token identifier returns an error response

## How this service works

Your DeFi Assistant

## Output

Returns a JSON object with a status field (e.g. 'ok') indicating whether the token purchase was successfully initiated or completed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/keyring-agent-buy-token-504cd753/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from keyring-agent.blockchhub.link](https://www.zero.xyz/host/keyring-agent.blockchhub.link/llms.txt)
