# DDG HTTP Headers Extraction Service

> DDG HTTP Headers Extraction Service is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the HTTP headers of a given HTTP request, providing agents with header inspection for POST/PUT/PATCH requests

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/http-headers
- 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/ddg-http-headers-extraction-service-5adeff2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tfv7zCjsoafRC5K6KvmNe

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-http-headers-extraction-service-5adeff2d -d '<json body>'
```

Example prompt: Can you inspect the HTTP headers that come back when I make a JSON POST request with body {"userId": 42} — I want to see what headers are being sent or echoed.

## When to prefer this

Choose this endpoint when you need to programmatically inspect or extract HTTP headers from a POST, PUT, or PATCH request in a lightweight, pay-per-call fashion via x402 USDC micropayment. It is suited for debugging, auditing, or validating request headers without needing to set up your own proxy or inspection infrastructure.

## Known failure modes

- Missing required fields (input.type, input.method, input.bodyType, input.body) returns a validation error
- Unsupported HTTP method (e.g. GET) returns an enum validation error
- Payment not completed via x402 rail returns a 402 Payment Required response
- Malformed body type results in schema rejection
- Network timeout on the upstream request returns an error response

## 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 ok: true and the extracted HTTP headers from the specified request, allowing agents to inspect what headers are present or echoed for a given HTTP POST, PUT, or PATCH call.

## 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-http-headers-extraction-service-5adeff2d/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)
