Use when an agent is about to pay an unknown x402 endpoint and needs a cheap saf
Use when an agent is about to pay an unknown x402 endpoint and needs a cheap safety gate. Input: url (https x402 resource), method, optional max_price_usd. Output: JSON verdict ALLOW/WARN/DENY with reasons: live quote now, price vs similar routes and your budget, payTo on the OFAC list, price change vs our last measurement, our 7-day uptime/p95, ERC-8004 registration. Never pays; cached 60 s. Example: ?url=https://1gateway.dev/v1/fx/rates&max_price_usd=0.01
Answeringour last check, 2026-11-26
7 of 7checks answered this week
31 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://1gateway.dev/v1/x402/preflight
| Category | Company and compliance |
|---|---|
| Provider host | 1gateway.dev |
| Networks | eip155:137, eip155:143, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 36 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 31 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 27 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 28 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 34 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 24 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 47 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 28 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 28 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 28 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 28 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 22 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 21 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 32 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 29 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 29 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 29 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 19 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 33 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 26 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 30 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 30 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 18 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 173 ms |
| 2026-11-02 | valid payment request | 402 | $0.002 | 30 ms |
| 2026-11-01 | valid payment request | 402 | $0.002 | 43 ms |
| 2026-10-31 | valid payment request | 402 | $0.002 | 29 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"max_price_usd": 0.01,
"method": "GET",
"url": "https://1gateway.dev/v1/fx/rates"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"max_price_usd": {
"description": "Your budget per call in USD; a higher quote gives DENY",
"maximum": 1000000,
"minimum": 0,
"type": "number"
},
"method": {
"default": "GET",
"description": "HTTP method of the resource",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"url": {
"description": "https URL of the x402 resource you are about to pay",
"maxLength": 1000,
"pattern": "^https://",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"checkedAt": {
"type": "string"
},
"market": {
"additionalProperties": true,
"properties": {
"medianUsd": {
"type": "number"
},
"similarRoutes": {
"type": "integer"
}
},
"type": "object"
},
"measured": {
"type": "null"
},
"method": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"quote": {
"additionalProperties": true,
"properties": {
"networks": {
"items": {
"type": "string"
},
"type": "array"
},
"payTo": {
"items": {
"type": "string"
},
"type": "array"
},
"priceUsd": {
"type": "number"
}
},
"type": "object"
},
"reasons": {
"items": {
"additionalProperties": true,
"properties": {
"code": {
"type": "string"
},
"level": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"url": {
"type": "string"
},
"verdict": {
"type": "string"
}
},
"required": [
"url",
"method",
"verdict",
"reasons",
"quote",
"measured",
"market",
"checkedAt",
"notes"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}