# PrimeAPI Data Conversion Endpoint

> PrimeAPI Data Conversion Endpoint is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.094071/call, status unknown (last checked 2026-10-22).

Converts or transforms data between formats or units using a query-based interface, payable per call in USDC on Base.

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/convert/data?utm_source=zero.xyz
- Price: $0.094071/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-data-conversion-endpoint-11aaa00a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_augwRsYi_g7gPxEc3W36I

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 primeapi-data-conversion-endpoint-11aaa00a -d '<json body>'
```

Example prompt: Can you convert this data for me — take the string '48656c6c6f' and decode it from hex to plain text?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call data conversion without setting up API keys, especially for simple format transformations, encoding changes, or unit conversions in an automated agent workflow.

## Known failure modes

- Missing or empty query parameter returns an error or empty result
- Unsupported conversion type may return an error or null result
- Malformed input string causes processing failure
- Payment not fulfilled results in HTTP 402 response blocking the call
- Ambiguous query without specifying source and target format may produce incorrect conversion

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a JSON object containing the converted or transformed result of the input query, such as a value in a new format, encoding, or unit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-data-conversion-endpoint-11aaa00a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
