{
  "openapi": "3.1.0",
  "info": {
    "title": "HY4 Verification Services x402 API",
    "version": "1.0.0",
    "description": "Pay-per-call utilities on Base. Every paid operation returns HTTP 402 with exact terms. No account, key or KYC. A quote is not revenue."
  },
  "servers": [
    {
      "url": "https://a-2bfcb8e6-p347-fiatdock-audit-mcp-3hgwe6ziea-uc.a.run.app"
    }
  ],
  "paths": {
    "/mcp": {
      "post": {
        "summary": "MCP JSON-RPC endpoint; tools/call of audit_x402 or web_text_extract costs $0.01 Base USDC. Handshake, tools/list and ping are free.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/verdict": {
      "post": {
        "summary": "MCP JSON-RPC endpoint; tools/call of base_token_verdict returns a rule-based 0-100 Base token liquidity verdict for $0.01 Base USDC. verdict_rules and ping are free.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/base-token-verdict": {
      "post": {
        "summary": "Base token verdict: deterministic 0-100 liquidity grade for a Base ERC-20 from public DEX data, with rules, sources and observed inputs. Same paid MCP tool as /verdict, $0.01 Base USDC; ping and verdict_rules remain free.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/crypto-price": {
      "post": {
        "summary": "Public CoinGecko price snapshot for named asset IDs and quote currencies.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/gas-estimate": {
      "post": {
        "summary": "Current Base gas price from an allowlisted public RPC, in wei and gwei.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/fx-rate": {
      "post": {
        "summary": "Frankfurter ECB reference FX rates for one base currency and a comma list of symbols.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "2000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.002,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/hash-text": {
      "post": {
        "summary": "Deterministic SHA-256 hex digest of supplied UTF-8 text.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/weather": {
      "post": {
        "summary": "Current weather snapshot for a city name from keyless public Open-Meteo geocoding and forecast data.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/web-text": {
      "post": {
        "summary": "Extract readable text, title and SHA-256 digest from one public HTTP(S) page with SSRF-safe validation.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/market-brief": {
      "post": {
        "summary": "One-call crypto market brief: CoinGecko market data, live Base gas and optional DexScreener liquidity for a Base token, with every source printed.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/verify-usdc": {
      "post": {
        "summary": "Verify a Base native-USDC Transfer from a public transaction receipt against an expected recipient, sender and amount.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "5000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.005,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/verify-usdc-batch": {
      "post": {
        "summary": "Verify up to five Base native-USDC Transfers in one call against expected recipients, senders and amounts.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "50000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.05,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/verify-ousd": {
      "post": {
        "summary": "Verify a canonical Tempo OUSD Transfer from a public transaction receipt against an expected recipient, sender and amount.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "50000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.05,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/verify-usdc-get": {
      "get": {
        "summary": "Verify one canonical Base USDC Transfer via GET query parameters tx, to and amount. $0.005 Base USDC.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "5000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.005,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/crypto-price-get": {
      "get": {
        "summary": "Public CoinGecko price snapshot for named asset IDs and quote currencies. Available by GET query parameters at /crypto-price-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/gas-estimate-get": {
      "get": {
        "summary": "Current Base gas price from an allowlisted public RPC, in wei and gwei. Available by GET query parameters at /gas-estimate-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/fx-rate-get": {
      "get": {
        "summary": "Frankfurter ECB reference FX rates for one base currency and a comma list of symbols. Available by GET query parameters at /fx-rate-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "2000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.002,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/hash-text-get": {
      "get": {
        "summary": "Deterministic SHA-256 hex digest of supplied UTF-8 text. Available by GET query parameters at /hash-text-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/weather-get": {
      "get": {
        "summary": "Current weather snapshot for a city name from keyless public Open-Meteo geocoding and forecast data. Available by GET query parameters at /weather-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "1000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.001,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/web-text-get": {
      "get": {
        "summary": "Extract readable text, title and SHA-256 digest from one public HTTP(S) page with SSRF-safe validation. Available by GET query parameters at /web-text-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    },
    "/market-brief-get": {
      "get": {
        "summary": "One-call crypto market brief: CoinGecko market data, live Base gas and optional DexScreener liquidity for a Base token, with every source printed. Available by GET query parameters at /market-brief-get.",
        "responses": {
          "402": {
            "description": "x402 payment required; see payment extension.",
            "content": {
              "application/json": {
                "example": {
                  "x402Version": 1,
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "payTo": "0x42640b2922FEdF88822c2943b9a38797dB0B9179",
                      "amount": "10000"
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Successful paid response after X-PAYMENT."
          }
        },
        "extensions": {
          "x-402-price-usd": 0.01,
          "x-402-network": "eip155:8453",
          "x-402-pay-to": "0x42640b2922FEdF88822c2943b9a38797dB0B9179"
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "x402": {
        "type": "apiKey",
        "in": "header",
        "name": "X-PAYMENT",
        "description": "Base64-encoded x402 payment payload after the unpaid 402 challenge."
      }
    }
  }
}
