# ScriptMasterLabs ACP x402 Hex Convert API

> ScriptMasterLabs ACP x402 Hex Convert API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts hexadecimal values to other formats or performs hex-related encoding/decoding operations, payable per-call via x402 USDC micropayments on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/hex-convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-acp-x402-hex-convert-api-9a083a08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-bMLioN2OHD1SSQi8LtaU

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-acp-x402-hex-convert-api-9a083a08
```

Example prompt: Can you convert the hex string 0x1A3F to its decimal equivalent using the hex convert endpoint?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call hex conversion utility without setting up your own conversion logic, especially in blockchain or crypto contexts where USDC micropayment settlement via x402 on Base is already in use.

## Known failure modes

- Invalid or malformed hex string returns an error response
- Missing required input properties returns a 400 or empty example object
- Payment failure via x402 results in 402 Payment Required before any conversion is attempted
- Ambiguous input format (missing 0x prefix) may produce unexpected results

## 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 converted or decoded representation of the provided hexadecimal input, such as a decimal integer, ASCII string, or other formatted output depending on the conversion type requested.

## 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-acp-x402-hex-convert-api-9a083a08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
