{
  "openapi": "3.1.0",
  "info": {
    "title": "KestrelRelay \u2014 Autonomous B2B Brokerage & Agent Intelligence x402 API",
    "version": "2.0.0",
    "description": "10 live pay-per-call x402 intelligence, verification, compliance, DeFi liquidity, and B2B vendor brokerage APIs settled directly in Circle USDC on Base Mainnet (eip155:8453). Zero API keys required.",
    "x-guidance": "All /api/v1/* endpoints except /api/v1/free-preview use x402 v2 (Base Mainnet Circle USDC, exact scheme, $0.05-$0.09/call). Call any route unpaid to read the 402 PAYMENT-REQUIRED challenge, sign EIP-3009 transferWithAuthorization, and retry with PAYMENT-SIGNATURE.",
    "contact": {
      "name": "KestrelRelay Ops",
      "email": "kestrelrelayf72a0a@euploading.com",
      "url": "https://kestrelrelay.thevibehosting.com"
    }
  },
  "servers": [
    {
      "url": "https://kestrelrelay.thevibehosting.com"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "operationId": "health_check",
        "summary": "Service health and live settlement ledger summary",
        "security": [],
        "responses": {
          "200": {
            "description": "Healthy"
          }
        }
      }
    },
    "/api/v1/free-preview": {
      "get": {
        "operationId": "free_preview",
        "summary": "Free endpoint catalog, example URLs, and B2B brokerage overview",
        "security": [],
        "responses": {
          "200": {
            "description": "Catalog preview"
          }
        }
      }
    },
    "/api/v1/agent-liquidity": {
      "get": {
        "operationId": "agent_liquidity_scan",
        "summary": "KestrelRelay Live AI Agent Marketplace Liquidity Scanner",
        "description": "Real-time cross-marketplace funded job, escrow, CPA offer, and evidence-separated liquidity snapshot across AgentHansa, Dealwork, Taskmarket, Claw Earn, TaskBounty, Synmerco (ERC-8183), and FMF x402 Directory. Paid per request via x402 ($0.09 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Data"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.090000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "Marketplace filter: all, agenthansa, dealwork, taskmarket, claw_earn, taskbounty, synmerco, fmf_x402_directory",
            "schema": {
              "type": "string",
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/domain-readiness": {
      "get": {
        "operationId": "domain_readiness_audit",
        "summary": "KestrelRelay Domain AI-Readiness & Security Trust Audit",
        "description": "Live check of TLS cert expiry, robots.txt AI crawler policies, llms.txt/SKILL.md discovery, HTTP security headers, latency, and a 0-100 agent-readiness score. Paid per request via x402 ($0.09 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Verification"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.090000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": false,
            "description": "Target website URL to audit (default: https://stripe.com)",
            "schema": {
              "type": "string",
              "default": "https://stripe.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/vendor-broker": {
      "get": {
        "operationId": "vendor_broker_match",
        "summary": "KestrelRelay B2B SaaS & Vendor Brokerage Matcher",
        "description": "Curated B2B SaaS comparison matrix (payments, geo, 3d, esign, automation, music, video, social, all) with buyer signals, anti-signals, and verified partner links. Paid per request via x402 ($0.08 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Intelligence"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category: all, payments, geo, 3d, esign, automation, social, video, music",
            "schema": {
              "type": "string",
              "default": "payments"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/us-disasters": {
      "get": {
        "operationId": "us_fema_disasters",
        "summary": "KestrelRelay Live FEMA Federal Disaster Declarations Feed",
        "description": "Structured real-time JSON feed of recent U.S. FEMA disaster and emergency declarations directly from OpenFEMA v2, filterable by two-letter state code. Paid per request via x402 ($0.08 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Data"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Two-letter U.S. state code (e.g. TX, CA, FL)",
            "schema": {
              "type": "string",
              "default": "TX"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/fda-recalls": {
      "get": {
        "operationId": "fda_food_recalls",
        "summary": "KestrelRelay Live FDA Enforcement & Recall Intelligence",
        "description": "Real-time structured FDA food recall enforcement reports from official openFDA endpoints with Class I/II/III severity, recalling firm, and affected states. Paid per request via x402 ($0.08 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Verification"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Keyword to match in recall reason or product description",
            "schema": {
              "type": "string",
              "default": "peanut"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/sec-filings": {
      "get": {
        "operationId": "sec_edgar_filings",
        "summary": "KestrelRelay Live SEC EDGAR Company Filings Feed",
        "description": "Real-time structured latest SEC EDGAR 8-K, 10-K, 10-Q, and Form 4 filings for any U.S. stock ticker directly from data.sec.gov. Paid per request via x402 ($0.08 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Finance"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "description": "U.S. stock ticker symbol (e.g. AAPL, MSFT, NVDA)",
            "schema": {
              "type": "string",
              "default": "AAPL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/x402-lint": {
      "get": {
        "operationId": "x402_conformance_lint",
        "summary": "KestrelRelay Live x402 Protocol & Canary Readiness Linter",
        "description": "Probes any live x402 endpoint unpaid and audits HTTP 402 compliance: PAYMENT-REQUIRED header vs body, Base/Solana Circle USDC contract, EIP-712 extra fields, resource.url match, CORS, and $0.10 canary cap eligibility. Paid per request via x402 ($0.05 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Verification"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": false,
            "description": "Concrete x402 endpoint URL to probe and lint",
            "schema": {
              "type": "string",
              "default": "https://kestrelrelay.thevibehosting.com/api/v1/agent-liquidity"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/token-liquidity": {
      "get": {
        "operationId": "dex_token_liquidity",
        "summary": "KestrelRelay Multi-Chain DEX Token Liquidity & Pool Risk Scanner",
        "description": "Live multi-DEX price, USD liquidity depth, 24h volume, buy/sell transaction imbalance, FDV, and pool concentration across Base, Solana, Ethereum, and Arbitrum. Paid per request via x402 ($0.08 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Finance"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Token symbol, name, or address (e.g. WETH, AERO, SOL)",
            "schema": {
              "type": "string",
              "default": "WETH"
            }
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "description": "Optional chain filter (e.g. base, solana, ethereum)",
            "schema": {
              "type": "string",
              "default": "base"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/email-dns-audit": {
      "get": {
        "operationId": "email_dns_trust_audit",
        "summary": "KestrelRelay Domain Email Deliverability & Anti-Spoofing DNS Audit",
        "description": "Live DNS-over-HTTPS inspection of MX mail exchangers, SPF policy, DMARC enforcement (_dmarc), CAA certificate restrictions, and a 0-100 deliverability & spoofing-resistance score. Paid per request via x402 ($0.07 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Verification"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.070000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "description": "Root domain to audit (e.g. stripe.com, cloudflare.com)",
            "schema": {
              "type": "string",
              "default": "stripe.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    },
    "/api/v1/github-repo-health": {
      "get": {
        "operationId": "github_repo_health",
        "summary": "KestrelRelay Open-Source GitHub Repository Maintenance & Risk Audit",
        "description": "Live public GitHub repository intelligence: stars, forks, open issues ratio, license, last push recency, top language, and an automated 0-100 maintenance health grade. Paid per request via x402 ($0.07 USDC on Base Mainnet eip155:8453).",
        "tags": [
          "Intelligence"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.070000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "repo",
            "in": "query",
            "required": false,
            "description": "GitHub repository in owner/repo format (e.g. coinbase/x402)",
            "schema": {
              "type": "string",
              "default": "coinbase/x402"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured JSON payload after valid x402 Base USDC settlement.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "x402 v2 Payment Required challenge (Circle USDC on Base)."
          }
        }
      }
    }
  }
}