# ASCII Table Lookup

> ASCII Table Lookup is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-30).

Returns the full ASCII table with character, decimal, hex, and binary representations, or looks up a single character or code.

## Facts

- Endpoint: GET https://api.gadgethumans.com/ascii-table?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ascii-table-lookup-43ce92b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VaqC5lc7s3oVWcJWxbSqG

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 ascii-table-lookup-43ce92b0
```

Example prompt: What is the ASCII decimal, hex, and binary code for the '@' character?

## When to prefer this

Use this endpoint when you need a fast, authoritative ASCII code lookup or the full ASCII table in a structured format with decimal, hex, and binary values simultaneously. Ideal for lightweight utility tasks that don't require a full character encoding library.

## Known failure modes

- Missing required 'q' parameter returns an error
- Multi-character input may return only the first character or an error
- Non-ASCII Unicode characters outside the 0–127 range may not be supported

## How this service works

Return ASCII codes with character, decimal, hex and binary, or look up one character. Pure CPU, instant.

## Output

Returns an object with the character, its decimal ASCII value, hexadecimal representation, and binary representation. When no specific character is queried, returns the full ASCII table as an array of such records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Character or code"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ascii-table-lookup-43ce92b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
