# x402ads.io Campaign Data Fetcher

> x402ads.io Campaign Data Fetcher is a paid API for AI agents from x402ads.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches ad campaign data and performance metrics for AI agents via a paid x402 endpoint.

## Facts

- Endpoint: GET https://x402ads.io/v1/agent/campaigns
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402ads-io-5356b37d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GSN2td9Rf9PtFKuEPBDSk

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 x402ads-io-5356b37d
```

Example prompt: Pull my x402ads campaign data for the last 30 days so I can review performance across all active campaigns.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically retrieve ad campaign data from x402ads.io, especially when querying performance over a specific period (7d, 30d, or lifetime). Prefer this over manual dashboard access when automating campaign reporting or monitoring workflows.

## Known failure modes

- Missing or invalid x402 payment header returns 402 Payment Required
- Invalid period enum value returns 400 Bad Request
- Expired or insufficient USDC payment returns payment error
- No campaigns found returns empty result set
- Unauthorized access returns 401

## How this service works

Fetches agent campaign data for x402 ads.

## Output

Returns structured ad campaign data for AI agents, including campaign records and performance metrics for the requested time period (7d, 30d, or lifetime).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "period": {
       "enum": [
        "7d",
        "30d",
        "lifetime"
       ],
       "type": "string",
       "default": "lifetime"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402ads-io-5356b37d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402ads.io](https://www.zero.xyz/host/x402ads.io/llms.txt)
