# Delx Commerce URL-Join API

> Delx Commerce URL-Join 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).

Joins or appends parameters to a URL by POSTing structured HTTP request metadata, returning a transformed URL as JSON, with per-call micropayment via x402/USDC.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/url-join?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-url-join-api-d003c74c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cKjATbzB68Afexjc1625v

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-url-join-api-d003c74c -d '<json body>'
```

Example prompt: Can you join these form-data fields into a single URL for me — I have a JSON body with keys 'name' and 'email', the input type is http with bodyType json, and I need the output as JSON?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use URL joining or composition operation without signup or subscriptions, and when you want verifiable delivery with USDC micropayments on Base or Solana via x402. It is well-suited for agentic pipelines that need to programmatically construct or merge URL parameters from structured HTTP request bodies on demand.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Invalid bodyType enum value (not json, form-data, or text) causes a schema rejection
- Payment not completed via x402 results in a 402 Payment Required response
- Malformed JSON body causes a parse error
- Unsupported HTTP method (not POST/PUT/PATCH) in the input type triggers an enum validation failure

## 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 result of joining or composing the provided HTTP request body into a URL structure. The response shape matches the provided output example schema, returning transformed URL or request data as key-value JSON.

## 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-url-join-api-d003c74c/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)
