# DDG Structured Extract

> DDG Structured Extract is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts structured data from an HTTP request body using DDG's agent-payable service, returning a bounded JSON result for $0.01 USDC per call via x402 payment rail.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/structured-extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-structured-extract-78f6ac96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m9lOsO0JCWu1c9YlEUqWt

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 ddg-structured-extract-78f6ac96 -d '<json body>'
```

Example prompt: Extract structured data from this JSON body I'm POSTing — send it as a json body type with the POST method and return me a clean structured result via DDG's paid extraction service.

## When to prefer this

Choose this endpoint when you need to extract or structure data from an HTTP body payload in a machine-payable, agent-native context — especially when using x402 multi-chain USDC payment rails. Prefer it over raw LLM extraction when you want a bounded, priced artifact with a clear cost ($0.01 USDC) and deterministic JSON output. Best suited for AI agents that already handle x402 micropayments and need a reliable per-call structured extraction service without managing a full provider account.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Missing required fields (input.type, input.method, input.bodyType, input.body) — returns 400 Bad Request
- Unsupported HTTP method in input.method (must be POST, PUT, or PATCH) — returns 400
- Unsupported bodyType (must be json, form-data, or text) — returns 400
- Provider backend unavailable — returns 503 or 500 with error detail
- Malformed body that cannot be parsed or structured — may return ok:false with error description

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with an 'ok' boolean status indicating success, along with the extracted/structured data derived from the input HTTP body. The response is a bounded artifact — a clean, structured JSON result rather than raw provider output.

## 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",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-structured-extract-78f6ac96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
