# Delx Commerce HTTP Codes API

> Delx Commerce HTTP Codes API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Proxies an HTTP POST/PUT/PATCH request and returns the response as JSON, charged per-result via USDC micropayment

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/http-codes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-http-codes-api-51820e48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_seF5sw6sRWXO_0wWJ8tBo

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 delx-commerce-http-codes-api-51820e48 -d '<json body>'
```

Example prompt: Forward this JSON body to an external endpoint using the Delx Commerce pay-per-result proxy — send it as a POST with JSON body type and return whatever JSON comes back.

## When to prefer this

Choose this endpoint when you need to make HTTP POST/PUT/PATCH calls on a strict pay-per-result basis without account signup, especially when verifiable delivery and USDC micropayment settlement via x402 protocol are required. It is ideal for autonomous agents that must call external APIs without managing API credentials or subscriptions.

## Known failure modes

- Insufficient USDC balance causing payment failure and no response
- Invalid or missing required fields (type, bodyType, body) returning a 400-level error
- Target endpoint unavailable or timing out during proxy relay
- Unsupported body type value outside the allowed enum causing schema validation failure
- Network or blockchain settlement errors on Base or Solana

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the response body from the proxied HTTP endpoint, returned after verifiable delivery and per-call USDC payment settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-http-codes-api-51820e48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
