# DDG Stock History

> DDG Stock History is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Retrieves historical stock price data for a given ticker symbol via a machine-payable API endpoint

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/stock-history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-stock-history-464e64f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JIDX5cZXJsyXZEuzS64qM

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-stock-history-464e64f7 -d '<json body>'
```

Example prompt: Can you pull the historical stock price data for AAPL over the last 6 months so I can see how it's been trending?

## When to prefer this

Choose this endpoint when you need historical stock price data and want to pay per-call with USDC via the x402 payment protocol, avoiding subscription or API key setup. Ideal for AI agents that need bounded, one-off financial data lookups without managing a brokerage or market data account.

## Known failure modes

- Invalid or unknown ticker symbol returns an error or empty result
- Date range outside available data returns empty or partial results
- Missing required body fields returns a 400-level validation error
- Payment failure or insufficient USDC balance causes a 402 Payment Required response
- Network timeout if upstream data provider is slow

## How this service works

DDG agent-payable service request

## Output

Returns a JSON object with historical stock price records for the requested ticker, likely including date-indexed OHLCV (open, high, low, close, volume) or similar pricing data. The response envelope confirms success with an 'ok: true' flag.

## 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-stock-history-464e64f7/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)
