# X402 Hub – TON Fragment API

> X402 Hub – TON Fragment API is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.052126/call, status unknown (last checked 2026-09-14).

Queries the TON Fragment marketplace or blockchain data via a micropayment-gated proxy endpoint

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/ton-fragment
- Price: $0.052126/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-ton-fragment-api-b2a726db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2x4uxu4QVKP5HR43t5PM0

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-hub-ton-fragment-api-b2a726db -d '<json body>'
```

Example prompt: Can you look up the username 'crypto' on TON Fragment and tell me its current price and auction status?

## When to prefer this

Use this endpoint when you need programmatic access to TON Fragment marketplace data — particularly Telegram username listings, auction statuses, or NFT ownership — without building a direct integration with the TON blockchain or Fragment platform. Ideal for agents operating in the TON/Telegram ecosystem that need lightweight per-query access paid via USDC micropayments on Base.

## Known failure modes

- Query returns no results if the username does not exist on Fragment
- Payment of ~$0.052 USDC required per call via x402 protocol; missing payment returns 402 error
- Upstream TON Fragment API downtime results in error response
- Malformed or empty query string may return error or empty data object
- Rate limiting or quota exceeded on upstream provider

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns structured data from the TON Fragment marketplace, potentially including username availability, ownership details, auction status, bid prices, and listing metadata for the queried term.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-ton-fragment-api-b2a726db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
