# ScriptMasterLabs Unit Convert API

> ScriptMasterLabs Unit Convert API is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Converts between units of measurement (e.g. length, weight, temperature, volume) via a pay-per-call API settled in USDC on Base via x402

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/unit-convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-unit-convert-api-3eec57e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v3k7zfV930LcQhHIUod_t

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 scriptmasterlabs-unit-convert-api-3eec57e1
```

Example prompt: Convert 250 kilometers to miles for me — I need the exact numeric result.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call unit conversion settled in USDC on Base via x402 — particularly in crypto-native or agent workflows where microtransaction billing is preferred over subscription APIs. Useful when integrating with other ScriptMasterLabs x402 endpoints (e.g. RWA, gas tracker) in the same pipeline.

## Known failure modes

- Unsupported or unrecognized unit type returns an error or empty result
- Missing required query parameters (value, from, to) cause a 400-style error
- Payment via x402 fails if wallet has insufficient USDC balance on Base
- Hosted on Render free tier — cold start latency or downtime possible
- Ambiguous unit abbreviations (e.g. 't' for ton vs tonne) may yield unexpected conversions

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns the numerically converted value in the requested target unit, given an input value and source/target unit pair.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-unit-convert-api-3eec57e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
