# PrimeAPI Temperature Converter

> PrimeAPI Temperature Converter is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.112724/call, status unknown (last checked 2026-09-15).

Converts a temperature value between units (Celsius, Fahrenheit, Kelvin) via a pay-per-call API on Base

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/convert/temperature
- Price: $0.112724/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-temperature-converter-5d18fb1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-a4fPaX5Gv_tepmoFgvVw

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-temperature-converter-5d18fb1b -d '<json body>'
```

Example prompt: Convert 37 degrees Celsius to Fahrenheit for me.

## When to prefer this

Use this endpoint when an AI agent needs a quick, no-API-key temperature unit conversion as part of a larger workflow (e.g. weather data normalization, recipe assistance, scientific calculations) and can pay per call in USDC on Base. Prefer this over building custom conversion logic when operating in a pay-per-use agent environment with x402 payment support.

## Known failure modes

- Invalid or unrecognized temperature unit provided — returns error or unexpected result
- Missing temperature value in query — may return malformed response
- Payment not completed in USDC on Base — 402 Payment Required response blocking the call
- Network or Vercel hosting downtime — 503 or timeout error
- Extremely out-of-range values (e.g. below absolute zero) may return an error or unhandled result

## 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 the converted temperature value in the target unit, computed from the provided input temperature and source unit specification.

## 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-temperature-converter-5d18fb1b/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)
