{
  "openapi": "3.1.0",
  "info": {
    "title": "AgentMarket",
    "version": "0.14.0rc1",
    "description": "AI-to-AI marketplace: News, Web, Data Quality and Document Intelligence. LIVE x402 USDC on Base (LIVE). 14 purchasable skills; HTTP paths below are probeable 402 resources. News SKUs also available via A2A/MCP after X-Agent-Token.",
    "x-guidance": "Pay with x402 (PAYMENT-SIGNATURE) using USDC on Base (eip155:8453). x402scan: register origin https://relayrace.info (OpenAPI at /openapi.json). Free discovery endpoints use security:[]. Paid operations declare x-payment-info + responses.402. Runtime amounts are USDC atomic units (6 decimals).",
    "contact": {
      "name": "AgentMarket",
      "url": "https://relayrace.info/agentmarket",
      "email": "agentmarket@relayrace.info"
    }
  },
  "servers": [
    {
      "url": "https://relayrace.info"
    }
  ],
  "tags": [
    {
      "name": "discovery",
      "description": "Free discovery"
    },
    {
      "name": "commerce",
      "description": "Paid x402 SKUs"
    }
  ],
  "paths": {
    "/agentmarket/healthz": {
      "get": {
        "operationId": "healthz",
        "summary": "Health check",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/.well-known/agent-card.json": {
      "get": {
        "operationId": "agent_card",
        "summary": "A2A Agent Card",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/.well-known/x402": {
      "get": {
        "operationId": "x402_well_known",
        "summary": "x402 resource fan-out",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/.well-known/ai-catalog.json": {
      "get": {
        "operationId": "ai_catalog",
        "summary": "AI discovery catalog",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/openapi.json": {
      "get": {
        "operationId": "openapi_mount",
        "summary": "OpenAPI (mount)",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/v1/openapi.json": {
      "get": {
        "operationId": "openapi",
        "summary": "OpenAPI document",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "openapi_apex",
        "summary": "OpenAPI (apex alias)",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/agentmarket/v1/data/validate": {
      "post": {
        "operationId": "sku_a04",
        "summary": "A04 — Structured Data Validator (0.003 USDC)",
        "description": "Validate/analyze CSV, JSON, XLSX: required fields, duplicates, types, declarative rules. Utility / data quality (proposed 0.003 USDC). LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "A04",
          "data-quality",
          "validation"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.003"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "A04"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "csv_text": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "csv",
                      "json",
                      "xlsx"
                    ]
                  }
                }
              },
              "example": {
                "csv_text": "a,b\n1,2\n",
                "format": "csv"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Validation / data-quality report JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Validation / data-quality report JSON"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/b2b/catalog_audit": {
      "post": {
        "operationId": "sku_b01",
        "summary": "B01 — E-commerce Catalog Auditor (0.010 USDC)",
        "description": "CSV/Excel-ready catalog hygiene: duplicates, prices, stock, images, categories. One-shot API via x402; monthly EUR subscription blocked until Stripe verified. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "B01",
          "data-quality",
          "ecommerce",
          "catalog"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.010"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "B01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "csv_text": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "csv_text": "sku,title,price\nA,Widget,9.99\n"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "E-commerce catalog hygiene findings JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "E-commerce catalog hygiene findings JSON"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/b2b/site_monitor": {
      "post": {
        "operationId": "sku_b02",
        "summary": "B02 — Website One-Shot Health Check (0.003 USDC)",
        "description": "Single probe: availability, HTTP status, HTTPS/TLS expiry, timing for authorized public URLs. Not a 24/7 SaaS monitor and not continuous alerts. Proposed monthly subscription blocked until Stripe verified. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "B02",
          "data-quality",
          "site-health"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.003"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "B02"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              },
              "example": {
                "url": "https://example.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "One-shot site health JSON (availability/TLS/timing)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "One-shot site health JSON (availability/TLS/timing)"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/crypto/price": {
      "post": {
        "operationId": "sku_c01",
        "summary": "C01 — On-Chain Crypto Indicative Price (0.002 USDC)",
        "description": "Uniswap v3 slot0 indicative mid on Base (ETH/WETH, BTC/cbBTC vs USDC) via public RPC. Not Coinbase/CEX aggregated spot. Not a trading signal. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "C01",
          "blockchain",
          "crypto",
          "price",
          "on-chain"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.002"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "C01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pair": {
                    "type": "string"
                  },
                  "symbol": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "pair": "ETH-USD"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "On-chain Uniswap v3 indicative mid (Base) with provenance — not aggregated CEX/Coinbase spot",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "On-chain Uniswap v3 indicative mid (Base) with provenance — not aggregated CEX/Coinbase spot"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/crypto/balance": {
      "post": {
        "operationId": "sku_c02",
        "summary": "C02 — Public Address Balance (0.003 USDC)",
        "description": "Native or ERC-20 balance on Base/Ethereum via public JSON-RPC. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "C02",
          "blockchain",
          "balance"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.003"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "C02"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "address"
                ],
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  },
                  "chain": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "address": "0x175562431dFcb38aB3a1762B7fc1fbC08A93BbbB",
                "token": "usdc",
                "chain": "base"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Public chain balance JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Public chain balance JSON"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/crypto/tx": {
      "post": {
        "operationId": "sku_c03",
        "summary": "C03 — Transaction Verification (0.005 USDC)",
        "description": "Lookup tx + receipt status on Base/Ethereum public RPC. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "C03",
          "blockchain",
          "tx"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.005"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "C03"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "tx_hash"
                ],
                "properties": {
                  "tx_hash": {
                    "type": "string"
                  },
                  "chain": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "tx_hash": "0xabababababababababababababababababababababababababababababababab",
                "chain": "base"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Transaction + receipt status JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Transaction + receipt status JSON"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/crypto/gas": {
      "post": {
        "operationId": "sku_c04",
        "summary": "C04 — Network Gas Snapshot (0.002 USDC)",
        "description": "eth_gasPrice / baseFee snapshot on Base or Ethereum. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "C04",
          "blockchain",
          "gas"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.002"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "C04"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "chain": "base"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Gas price / baseFee snapshot",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Gas price / baseFee snapshot"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/documents/extract": {
      "post": {
        "operationId": "sku_d01",
        "summary": "D01 — Document Intelligence & Table Extraction (0.015 USDC)",
        "description": "Extract text/tables from digital PDF, DOCX, TXT with provenance. OCR not auto-enabled. A2A purchasable under DOCUMENT_INTELLIGENCE listino (0.20 USDC). LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "D01",
          "document-intelligence",
          "extraction"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.015"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "D01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "document_b64": {
                    "type": "string"
                  },
                  "filename": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "text": "Col1,Col2\n1,2\n",
                "format": "txt"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Document text/tables with provenance JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Document text/tables with provenance JSON"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/geo/distance": {
      "post": {
        "operationId": "sku_g01",
        "summary": "G01 — Great-Circle Distance (0.002 USDC)",
        "description": "Haversine distance between two lat/lon pairs — local math, no geocoder. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "G01",
          "geo",
          "distance"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.002"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "G01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lat1",
                  "lon1",
                  "lat2",
                  "lon2"
                ],
                "properties": {
                  "lat1": {
                    "type": "number"
                  },
                  "lon1": {
                    "type": "number"
                  },
                  "lat2": {
                    "type": "number"
                  },
                  "lon2": {
                    "type": "number"
                  }
                }
              },
              "example": {
                "lat1": 41.9,
                "lon1": 12.5,
                "lat2": 45.46,
                "lon2": 9.19
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Haversine distance km/m",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Haversine distance km/m"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/changes": {
      "post": {
        "operationId": "sku_nc01",
        "summary": "NC01 — News Changes (0.004 USDC)",
        "description": "Documented archive updates/new items since timestamp; never invents changes. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NC01",
          "news-intelligence",
          "changes"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NC01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "since_ts": {
                    "type": "number"
                  },
                  "since": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                }
              },
              "example": {
                "since_ts": 0,
                "limit": 20
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Archive deltas since timestamp (no invented changes)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Archive deltas since timestamp (no invented changes)"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/latest": {
      "post": {
        "operationId": "sku_nl01",
        "summary": "NL01 — News Latest (0.004 USDC)",
        "description": "Latest REAL_RSS archive items with provenance (no invented headlines). LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NL01",
          "news-intelligence",
          "rss",
          "provenance"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NL01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50
                  }
                }
              },
              "example": {
                "limit": 5
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Latest archive news items with provenance and verification_status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Latest archive news items with provenance and verification_status"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/summary": {
      "post": {
        "operationId": "sku_nm01",
        "summary": "NM01 — News Summary (0.005 USDC)",
        "description": "Heuristic summary over archive item or caller text; facts vs inferences separated. No paid LLM by default. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NM01",
          "news-intelligence",
          "summary"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.005"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NM01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "news_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  },
                  "use_lupo": {
                    "type": "boolean"
                  }
                }
              },
              "example": {
                "news_id": "news_example",
                "use_lupo": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Heuristic summary separating facts_from_source vs inferences",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Heuristic summary separating facts_from_source vs inferences"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/by_source": {
      "post": {
        "operationId": "sku_nr01",
        "summary": "NR01 — News By Source (0.004 USDC)",
        "description": "Archive filter by source name. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NR01",
          "news-intelligence",
          "source"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NR01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "source"
                ],
                "properties": {
                  "source": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                }
              },
              "example": {
                "source": "NASA",
                "limit": 10
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Source-filtered archive items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Source-filtered archive items"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/search": {
      "post": {
        "operationId": "sku_ns01",
        "summary": "NS01 — News Search (0.004 USDC)",
        "description": "Search archive by query/topic/source. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NS01",
          "news-intelligence",
          "search"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NS01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string"
                  },
                  "topic": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                }
              },
              "example": {
                "query": "markets",
                "limit": 10
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Archive search hits with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Archive search hits with provenance"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/by_topic": {
      "post": {
        "operationId": "sku_nt01",
        "summary": "NT01 — News By Topic (0.004 USDC)",
        "description": "Archive filter by topic or fixed commercial categories: blockchain_crypto, payments_commerce, weather_location (USGov specialized feeds; regulatory crypto ≠ full market coverage). LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NT01",
          "news-intelligence",
          "topic",
          "category"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NT01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "topic"
                ],
                "properties": {
                  "topic": {
                    "type": "string"
                  },
                  "category": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                }
              },
              "example": {
                "topic": "space",
                "limit": 10
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "News by topic/category; fixed: blockchain_crypto, payments_commerce, weather_location (USGov specialized — crypto ≠ full market media)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "News by topic/category; fixed: blockchain_crypto, payments_commerce, weather_location (USGov specialized — crypto ≠ full market media)"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/news/verify": {
      "post": {
        "operationId": "sku_nv01",
        "summary": "NV01 — News Verify (0.004 USDC)",
        "description": "Heuristic claim/evidence check; single source never counts as independent verification. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "NV01",
          "news-intelligence",
          "verify"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "NV01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "claim": {
                    "type": "string"
                  },
                  "news_id": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "claim": "Example claim text",
                "news_id": "news_example"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Heuristic verification result (never upgrades HEURISTIC→CERTAIN)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Heuristic verification result (never upgrades HEURISTIC→CERTAIN)"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/payments/x402_inspect": {
      "post": {
        "operationId": "sku_p01",
        "summary": "P01 — x402 Challenge Inspector (0.005 USDC)",
        "description": "Structural parse of PaymentRequired/challenge JSON (local). No chain spend. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "P01",
          "payments",
          "x402"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.005"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "P01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "challenge": {
                    "type": "object"
                  },
                  "payment_required": {
                    "type": "object"
                  }
                }
              },
              "example": {
                "challenge": {
                  "x402Version": 2,
                  "accepts": []
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Structural x402 challenge inspection",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Structural x402 challenge inspection"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/payments/usdc_transfer_verify": {
      "post": {
        "operationId": "sku_p02",
        "summary": "P02 — USDC Transfer Verifier (Base) (0.008 USDC)",
        "description": "Parse Base receipt for USDC Transfer logs to an expected payTo. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "P02",
          "payments",
          "usdc",
          "verify"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.008"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "P02"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "tx_hash",
                  "pay_to"
                ],
                "properties": {
                  "tx_hash": {
                    "type": "string"
                  },
                  "pay_to": {
                    "type": "string"
                  },
                  "payTo": {
                    "type": "string"
                  }
                }
              },
              "example": {
                "tx_hash": "0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
                "pay_to": "0x175562431dFcb38aB3a1762B7fc1fbC08A93BbbB"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "USDC Transfer match report on Base",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "USDC Transfer match report on Base"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/weather/current": {
      "post": {
        "operationId": "sku_w01",
        "summary": "W01 — US Weather Current/Hourly (NWS) (0.002 USDC)",
        "description": "US National Weather Service hourly/current periods by lat/lon (USGov). LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "W01",
          "weather",
          "nws"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.002"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "W01"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lat",
                  "lon"
                ],
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lon": {
                    "type": "number"
                  }
                }
              },
              "example": {
                "lat": 38.8977,
                "lon": -77.0365
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "US NWS hourly/current periods",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "US NWS hourly/current periods"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    },
    "/agentmarket/v1/weather/forecast": {
      "post": {
        "operationId": "sku_w02",
        "summary": "W02 — US Weather Forecast (NWS) (0.003 USDC)",
        "description": "US NWS multi-period forecast by lat/lon. LIVE x402 USDC on Base, pay-per-request. Limitations: Does not prove factual truth of page content.; Does not bypass authentication, paywalls, or CAPTCHA.; Does not constitute legal advice or certified audit.",
        "tags": [
          "W02",
          "weather",
          "forecast"
        ],
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.003"
          },
          "network": "base",
          "asset": "USDC",
          "caip2": "eip155:8453",
          "skill_id": "W02"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lat",
                  "lon"
                ],
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lon": {
                    "type": "number"
                  }
                }
              },
              "example": {
                "lat": 38.8977,
                "lon": -77.0365
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "US NWS forecast periods",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "US NWS forecast periods"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — PAYMENT-REQUIRED header / x402 challenge (USDC on Base)"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "paymentSignature": {
        "type": "apiKey",
        "in": "header",
        "name": "PAYMENT-SIGNATURE",
        "description": "Base64 x402 PaymentPayload after facilitator settle"
      }
    }
  },
  "x-discovery": {
    "network": "eip155:8453",
    "asset": "USDC",
    "facilitator": "Coinbase CDP",
    "allowlist": [
      "A04",
      "B01",
      "B02",
      "C01",
      "C02",
      "C03",
      "C04",
      "D01",
      "G01",
      "NC01",
      "NL01",
      "NM01",
      "NR01",
      "NS01",
      "NT01",
      "NV01",
      "P01",
      "P02",
      "W01",
      "W02"
    ],
    "mount": "/agentmarket"
  }
}