{
  "x402Version": 2,
  "id": 28672,
  "slug": "28672",
  "resource": "https://api.usesaferoute.com/v1/quote",
  "description": "Buy a safety-checked Base DEX swap quote for USDC, WETH, EURC, cbETH, cbBTC, VIRTUAL, or AERO. Returns unsigned calldata or a buyer-signable gasless payload; SafeRoute never holds funds, signs, or broadcasts.",
  "type": "http",
  "serviceName": "SafeRoute",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x08a6a2ddecdebdbfcb29d725042a6f3d74849e08",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "transaction"
            ]
          },
          {
            "required": [
              "gasless"
            ]
          }
        ],
        "properties": {
          "approvalRequired": {
            "type": "boolean"
          },
          "approvalSpender": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "buyAmount": {
            "pattern": "^\\d+$",
            "type": "string"
          },
          "buyToken": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "chainId": {
            "const": 8453,
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "executionMode": {
            "enum": [
              "standard",
              "gasless"
            ],
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "feeAmount": {
            "pattern": "^\\d+$",
            "type": "string"
          },
          "feeBps": {
            "const": 10,
            "type": "integer"
          },
          "feeToken": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "gasless": {
            "properties": {
              "buyerMustSignAndSubmit": {
                "const": true,
                "type": "boolean"
              },
              "relayRequiresBuyerZeroXApiKey": {
                "const": true,
                "type": "boolean"
              },
              "relaySubmitEndpoint": {
                "format": "uri",
                "type": "string"
              },
              "target": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "trade": {
                "type": "object"
              }
            },
            "required": [
              "trade",
              "target",
              "relaySubmitEndpoint",
              "relayRequiresBuyerZeroXApiKey",
              "buyerMustSignAndSubmit"
            ],
            "type": "object"
          },
          "inputFormat": {
            "enum": [
              "simple",
              "advanced"
            ],
            "type": "string"
          },
          "minBuyAmount": {
            "pattern": "^\\d+$",
            "type": "string"
          },
          "payloadHash": {
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "type": "string"
          },
          "quoteId": {
            "format": "uuid",
            "type": "string"
          },
          "receipt": {
            "additionalProperties": false,
            "properties": {
              "attribution": {
                "additionalProperties": false,
                "properties": {
                  "intentId": {
                    "maxLength": 128,
                    "minLength": 16,
                    "pattern": "^[a-zA-Z0-9_-]+$",
                    "type": "string"
                  },
                  "referralCode": {
                    "maxLength": 64,
                    "minLength": 3,
                    "pattern": "^[a-zA-Z0-9_-]+$",
                    "type": "string"
                  },
                  "sourceAgentId": {
                    "maxLength": 128,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyAmount": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "buyToken": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "chainId": {
                "const": 8453,
                "type": "integer"
              },
              "createdAt": {
                "format": "date-time",
                "type": "string"
              },
              "executionMode": {
                "enum": [
                  "standard",
                  "gasless"
                ],
                "type": "string"
              },
              "expiresAt": {
                "format": "date-time",
                "type": "string"
              },
              "feeAmount": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "feeBps": {
                "const": 10,
                "type": "integer"
              },
              "feeRecipient": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "feeToken": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "gaslessTarget": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "payloadHash": {
                "pattern": "^0x[a-fA-F0-9]{64}$",
                "type": "string"
              },
              "quoteId": {
                "format": "uuid",
                "type": "string"
              },
              "sellAmount": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "sellToken": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "taker": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "transactionTo": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "transactionValue": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "usdcNotional": {
                "pattern": "^\\d+$",
                "type": "string"
              }
            },
            "required": [
              "quoteId",
              "chainId",
              "createdAt",
              "expiresAt",
              "sellToken",
              "buyToken",
              "sellAmount",
              "buyAmount",
              "taker",
              "executionMode",
              "usdcNotional",
              "feeBps",
              "feeRecipient",
              "payloadHash"
            ],
            "type": "object"
          },
          "receiptSignature": {
            "pattern": "^[a-fA-F0-9]{64}$",
            "type": "string"
          },
          "sellAmount": {
            "pattern": "^\\d+$",
            "type": "string"
          },
          "sellToken": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "simulation": {
            "additionalProperties": false,
            "properties": {
              "reason": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "passed",
                  "skipped",
                  "failed"
                ],
                "type": "string"
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          },
          "taker": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "transaction": {
            "additionalProperties": false,
            "properties": {
              "data": {
                "pattern": "^0x[a-fA-F0-9]*$",
                "type": "string"
              },
              "gas": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "gasPrice": {
                "pattern": "^\\d+$",
                "type": "string"
              },
              "to": {
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "type": "string"
              },
              "value": {
                "pattern": "^\\d+$",
                "type": "string"
              }
            },
            "required": [
              "to",
              "data",
              "value"
            ],
            "type": "object"
          },
          "transactionDataHash": {
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "type": "string"
          },
          "usdNotional": {
            "pattern": "^\\d+$",
            "type": "string"
          }
        },
        "required": [
          "quoteId",
          "chainId",
          "createdAt",
          "expiresAt",
          "sellToken",
          "buyToken",
          "sellAmount",
          "buyAmount",
          "feeBps",
          "executionMode",
          "usdNotional",
          "approvalRequired",
          "taker",
          "payloadHash",
          "simulation",
          "receipt",
          "receiptSignature",
          "inputFormat"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": "25",
            "executionMode": "standard",
            "from": "USDC",
            "intentId": "intent_unique_1234567890",
            "referralCode": "PARTNER_CODE",
            "sourceAgentId": "buyer-agent-id",
            "to": "WETH",
            "wallet": "0x1111111111111111111111111111111111111111"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "approvalRequired": false,
            "buyAmount": "10000000000000000",
            "buyToken": "0x4200000000000000000000000000000000000006",
            "chainId": 8453,
            "createdAt": "2026-01-01T00:00:00.000Z",
            "executionMode": "standard",
            "expiresAt": "2026-01-01T00:01:00.000Z",
            "feeBps": 10,
            "inputFormat": "simple",
            "payloadHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "quoteId": "00000000-0000-4000-8000-000000000000",
            "receipt": {
              "buyAmount": "10000000000000000",
              "buyToken": "0x4200000000000000000000000000000000000006",
              "chainId": 8453,
              "createdAt": "2026-01-01T00:00:00.000Z",
              "executionMode": "standard",
              "expiresAt": "2026-01-01T00:01:00.000Z",
              "feeBps": 10,
              "feeRecipient": "0x3333333333333333333333333333333333333333",
              "payloadHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
              "quoteId": "00000000-0000-4000-8000-000000000000",
              "sellAmount": "25000000",
              "sellToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "taker": "0x1111111111111111111111111111111111111111",
              "usdcNotional": "25000000"
            },
            "receiptSignature": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "sellAmount": "25000000",
            "sellToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "simulation": {
              "status": "passed"
            },
            "taker": "0x1111111111111111111111111111111111111111",
            "transaction": {
              "data": "0x",
              "to": "0x2222222222222222222222222222222222222222",
              "value": "0"
            },
            "usdNotional": "25000000"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Human-readable sell amount, capped at $500 USDC equivalent",
                    "pattern": "^\\d+(?:\\.\\d+)?$",
                    "type": "string"
                  },
                  "executionMode": {
                    "default": "standard",
                    "enum": [
                      "standard",
                      "gasless"
                    ],
                    "type": "string"
                  },
                  "from": {
                    "description": "Approved Base sell-token symbol",
                    "enum": [
                      "USDC",
                      "WETH",
                      "EURC",
                      "CBETH",
                      "CBBTC",
                      "VIRTUAL",
                      "AERO"
                    ],
                    "type": "string"
                  },
                  "intentId": {
                    "maxLength": 128,
                    "minLength": 16,
                    "pattern": "^[a-zA-Z0-9_-]+$",
                    "type": "string"
                  },
                  "referralCode": {
                    "maxLength": 64,
                    "minLength": 3,
                    "pattern": "^[a-zA-Z0-9_-]+$",
                    "type": "string"
                  },
                  "sourceAgentId": {
                    "maxLength": 128,
                    "minLength": 1,
                    "type": "string"
                  },
                  "to": {
                    "description": "Approved Base buy-token symbol",
                    "enum": [
                      "USDC",
                      "WETH",
                      "EURC",
                      "CBETH",
                      "CBBTC",
                      "VIRTUAL",
                      "AERO"
                    ],
                    "type": "string"
                  },
                  "wallet": {
                    "description": "Buyer-controlled taker wallet",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "from",
                  "to",
                  "amount",
                  "wallet"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "anyOf": [
                  {
                    "required": [
                      "transaction"
                    ]
                  },
                  {
                    "required": [
                      "gasless"
                    ]
                  }
                ],
                "properties": {
                  "approvalRequired": {
                    "type": "boolean"
                  },
                  "approvalSpender": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "buyAmount": {
                    "pattern": "^\\d+$",
                    "type": "string"
                  },
                  "buyToken": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "chainId": {
                    "const": 8453,
                    "type": "integer"
                  },
                  "createdAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "executionMode": {
                    "enum": [
                      "standard",
                      "gasless"
                    ],
                    "type": "string"
                  },
                  "expiresAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "feeAmount": {
                    "pattern": "^\\d+$",
                    "type": "string"
                  },
                  "feeBps": {
                    "const": 10,
                    "type": "integer"
                  },
                  "feeToken": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "gasless": {
                    "properties": {
                      "buyerMustSignAndSubmit": {
                        "const": true,
                        "type": "boolean"
                      },
                      "relayRequiresBuyerZeroXApiKey": {
                        "const": true,
                        "type": "boolean"
                      },
                      "relaySubmitEndpoint": {
                        "format": "uri",
                        "type": "string"
                      },
                      "target": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "trade": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "trade",
                      "target",
                      "relaySubmitEndpoint",
                      "relayRequiresBuyerZeroXApiKey",
                      "buyerMustSignAndSubmit"
                    ],
                    "type": "object"
                  },
                  "inputFormat": {
                    "enum": [
                      "simple",
                      "advanced"
                    ],
                    "type": "string"
                  },
                  "minBuyAmount": {
                    "pattern": "^\\d+$",
                    "type": "string"
                  },
                  "payloadHash": {
                    "pattern": "^0x[a-fA-F0-9]{64}$",
                    "type": "string"
                  },
                  "quoteId": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "receipt": {
                    "additionalProperties": false,
                    "properties": {
                      "attribution": {
                        "additionalProperties": false,
                        "properties": {
                          "intentId": {
                            "maxLength": 128,
                            "minLength": 16,
                            "pattern": "^[a-zA-Z0-9_-]+$",
                            "type": "string"
                          },
                          "referralCode": {
                            "maxLength": 64,
                            "minLength": 3,
                            "pattern": "^[a-zA-Z0-9_-]+$",
                            "type": "string"
                          },
                          "sourceAgentId": {
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "buyAmount": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "buyToken": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "chainId": {
                        "const": 8453,
                        "type": "integer"
                      },
                      "createdAt": {
                        "format": "date-time",
                        "type": "string"
                      },
                      "executionMode": {
                        "enum": [
                          "standard",
                          "gasless"
                        ],
                        "type": "string"
                      },
                      "expiresAt": {
                        "format": "date-time",
                        "type": "string"
                      },
                      "feeAmount": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "feeBps": {
                        "const": 10,
                        "type": "integer"
                      },
                      "feeRecipient": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "feeToken": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "gaslessTarget": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "payloadHash": {
                        "pattern": "^0x[a-fA-F0-9]{64}$",
                        "type": "string"
                      },
                      "quoteId": {
                        "format": "uuid",
                        "type": "string"
                      },
                      "sellAmount": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "sellToken": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "taker": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "transactionTo": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "transactionValue": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "usdcNotional": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "quoteId",
                      "chainId",
                      "createdAt",
                      "expiresAt",
                      "sellToken",
                      "buyToken",
                      "sellAmount",
                      "buyAmount",
                      "taker",
                      "executionMode",
                      "usdcNotional",
                      "feeBps",
                      "feeRecipient",
                      "payloadHash"
                    ],
                    "type": "object"
                  },
                  "receiptSignature": {
                    "pattern": "^[a-fA-F0-9]{64}$",
                    "type": "string"
                  },
                  "sellAmount": {
                    "pattern": "^\\d+$",
                    "type": "string"
                  },
                  "sellToken": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "simulation": {
                    "additionalProperties": false,
                    "properties": {
                      "reason": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "passed",
                          "skipped",
                          "failed"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "status"
                    ],
                    "type": "object"
                  },
                  "taker": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "transaction": {
                    "additionalProperties": false,
                    "properties": {
                      "data": {
                        "pattern": "^0x[a-fA-F0-9]*$",
                        "type": "string"
                      },
                      "gas": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "gasPrice": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "to": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "value": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "to",
                      "data",
                      "value"
                    ],
                    "type": "object"
                  },
                  "transactionDataHash": {
                    "pattern": "^0x[a-fA-F0-9]{64}$",
                    "type": "string"
                  },
                  "usdNotional": {
                    "pattern": "^\\d+$",
                    "type": "string"
                  }
                },
                "required": [
                  "quoteId",
                  "chainId",
                  "createdAt",
                  "expiresAt",
                  "sellToken",
                  "buyToken",
                  "sellAmount",
                  "buyAmount",
                  "feeBps",
                  "executionMode",
                  "usdNotional",
                  "approvalRequired",
                  "taker",
                  "payloadHash",
                  "simulation",
                  "receipt",
                  "receiptSignature",
                  "inputFormat"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "crypto",
    "swap",
    "base",
    "noncustodial",
    "unsigned-transaction",
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "api.usesaferoute.com",
  "lastUpdated": "2026-10-08T05:33:42.917Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:33:42.723Z"
  },
  "metadata": {
    "serviceName": "SafeRoute",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": "25",
              "executionMode": "standard",
              "from": "USDC",
              "intentId": "intent_unique_1234567890",
              "referralCode": "PARTNER_CODE",
              "sourceAgentId": "buyer-agent-id",
              "to": "WETH",
              "wallet": "0x1111111111111111111111111111111111111111"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "approvalRequired": false,
              "buyAmount": "10000000000000000",
              "buyToken": "0x4200000000000000000000000000000000000006",
              "chainId": 8453,
              "createdAt": "2026-01-01T00:00:00.000Z",
              "executionMode": "standard",
              "expiresAt": "2026-01-01T00:01:00.000Z",
              "feeBps": 10,
              "inputFormat": "simple",
              "payloadHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
              "quoteId": "00000000-0000-4000-8000-000000000000",
              "receipt": {
                "buyAmount": "10000000000000000",
                "buyToken": "0x4200000000000000000000000000000000000006",
                "chainId": 8453,
                "createdAt": "2026-01-01T00:00:00.000Z",
                "executionMode": "standard",
                "expiresAt": "2026-01-01T00:01:00.000Z",
                "feeBps": 10,
                "feeRecipient": "0x3333333333333333333333333333333333333333",
                "payloadHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                "quoteId": "00000000-0000-4000-8000-000000000000",
                "sellAmount": "25000000",
                "sellToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "taker": "0x1111111111111111111111111111111111111111",
                "usdcNotional": "25000000"
              },
              "receiptSignature": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
              "sellAmount": "25000000",
              "sellToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "simulation": {
                "status": "passed"
              },
              "taker": "0x1111111111111111111111111111111111111111",
              "transaction": {
                "data": "0x",
                "to": "0x2222222222222222222222222222222222222222",
                "value": "0"
              },
              "usdNotional": "25000000"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "Human-readable sell amount, capped at $500 USDC equivalent",
                      "pattern": "^\\d+(?:\\.\\d+)?$",
                      "type": "string"
                    },
                    "executionMode": {
                      "default": "standard",
                      "enum": [
                        "standard",
                        "gasless"
                      ],
                      "type": "string"
                    },
                    "from": {
                      "description": "Approved Base sell-token symbol",
                      "enum": [
                        "USDC",
                        "WETH",
                        "EURC",
                        "CBETH",
                        "CBBTC",
                        "VIRTUAL",
                        "AERO"
                      ],
                      "type": "string"
                    },
                    "intentId": {
                      "maxLength": 128,
                      "minLength": 16,
                      "pattern": "^[a-zA-Z0-9_-]+$",
                      "type": "string"
                    },
                    "referralCode": {
                      "maxLength": 64,
                      "minLength": 3,
                      "pattern": "^[a-zA-Z0-9_-]+$",
                      "type": "string"
                    },
                    "sourceAgentId": {
                      "maxLength": 128,
                      "minLength": 1,
                      "type": "string"
                    },
                    "to": {
                      "description": "Approved Base buy-token symbol",
                      "enum": [
                        "USDC",
                        "WETH",
                        "EURC",
                        "CBETH",
                        "CBBTC",
                        "VIRTUAL",
                        "AERO"
                      ],
                      "type": "string"
                    },
                    "wallet": {
                      "description": "Buyer-controlled taker wallet",
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "from",
                    "to",
                    "amount",
                    "wallet"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "anyOf": [
                    {
                      "required": [
                        "transaction"
                      ]
                    },
                    {
                      "required": [
                        "gasless"
                      ]
                    }
                  ],
                  "properties": {
                    "approvalRequired": {
                      "type": "boolean"
                    },
                    "approvalSpender": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "buyAmount": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "buyToken": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "chainId": {
                      "const": 8453,
                      "type": "integer"
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "executionMode": {
                      "enum": [
                        "standard",
                        "gasless"
                      ],
                      "type": "string"
                    },
                    "expiresAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "feeAmount": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "feeBps": {
                      "const": 10,
                      "type": "integer"
                    },
                    "feeToken": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "gasless": {
                      "properties": {
                        "buyerMustSignAndSubmit": {
                          "const": true,
                          "type": "boolean"
                        },
                        "relayRequiresBuyerZeroXApiKey": {
                          "const": true,
                          "type": "boolean"
                        },
                        "relaySubmitEndpoint": {
                          "format": "uri",
                          "type": "string"
                        },
                        "target": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "trade": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "trade",
                        "target",
                        "relaySubmitEndpoint",
                        "relayRequiresBuyerZeroXApiKey",
                        "buyerMustSignAndSubmit"
                      ],
                      "type": "object"
                    },
                    "inputFormat": {
                      "enum": [
                        "simple",
                        "advanced"
                      ],
                      "type": "string"
                    },
                    "minBuyAmount": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "payloadHash": {
                      "pattern": "^0x[a-fA-F0-9]{64}$",
                      "type": "string"
                    },
                    "quoteId": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "receipt": {
                      "additionalProperties": false,
                      "properties": {
                        "attribution": {
                          "additionalProperties": false,
                          "properties": {
                            "intentId": {
                              "maxLength": 128,
                              "minLength": 16,
                              "pattern": "^[a-zA-Z0-9_-]+$",
                              "type": "string"
                            },
                            "referralCode": {
                              "maxLength": 64,
                              "minLength": 3,
                              "pattern": "^[a-zA-Z0-9_-]+$",
                              "type": "string"
                            },
                            "sourceAgentId": {
                              "maxLength": 128,
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "buyAmount": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "buyToken": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "chainId": {
                          "const": 8453,
                          "type": "integer"
                        },
                        "createdAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "executionMode": {
                          "enum": [
                            "standard",
                            "gasless"
                          ],
                          "type": "string"
                        },
                        "expiresAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "feeAmount": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "feeBps": {
                          "const": 10,
                          "type": "integer"
                        },
                        "feeRecipient": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "feeToken": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "gaslessTarget": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "payloadHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        },
                        "quoteId": {
                          "format": "uuid",
                          "type": "string"
                        },
                        "sellAmount": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "sellToken": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "taker": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "transactionTo": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "transactionValue": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "usdcNotional": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "quoteId",
                        "chainId",
                        "createdAt",
                        "expiresAt",
                        "sellToken",
                        "buyToken",
                        "sellAmount",
                        "buyAmount",
                        "taker",
                        "executionMode",
                        "usdcNotional",
                        "feeBps",
                        "feeRecipient",
                        "payloadHash"
                      ],
                      "type": "object"
                    },
                    "receiptSignature": {
                      "pattern": "^[a-fA-F0-9]{64}$",
                      "type": "string"
                    },
                    "sellAmount": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "sellToken": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "simulation": {
                      "additionalProperties": false,
                      "properties": {
                        "reason": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "passed",
                            "skipped",
                            "failed"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "status"
                      ],
                      "type": "object"
                    },
                    "taker": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "transaction": {
                      "additionalProperties": false,
                      "properties": {
                        "data": {
                          "pattern": "^0x[a-fA-F0-9]*$",
                          "type": "string"
                        },
                        "gas": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "gasPrice": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "to": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "value": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "to",
                        "data",
                        "value"
                      ],
                      "type": "object"
                    },
                    "transactionDataHash": {
                      "pattern": "^0x[a-fA-F0-9]{64}$",
                      "type": "string"
                    },
                    "usdNotional": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "quoteId",
                    "chainId",
                    "createdAt",
                    "expiresAt",
                    "sellToken",
                    "buyToken",
                    "sellAmount",
                    "buyAmount",
                    "feeBps",
                    "executionMode",
                    "usdNotional",
                    "approvalRequired",
                    "taker",
                    "payloadHash",
                    "simulation",
                    "receipt",
                    "receiptSignature",
                    "inputFormat"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.usesaferoute.com",
    "manifest_name": "api.usesaferoute.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "approvalRequired": true,
      "approvalSpender": "string",
      "buyAmount": "string",
      "buyToken": "string",
      "chainId": 0,
      "createdAt": "2026-01-01T00:00:00Z",
      "executionMode": "standard",
      "expiresAt": "2026-01-01T00:00:00Z",
      "feeAmount": "string",
      "feeBps": 0,
      "feeToken": "string",
      "gasless": {
        "buyerMustSignAndSubmit": true,
        "relayRequiresBuyerZeroXApiKey": true,
        "relaySubmitEndpoint": "https://example.com",
        "target": "string",
        "trade": {}
      },
      "inputFormat": "simple",
      "minBuyAmount": "string",
      "payloadHash": "string",
      "quoteId": "string",
      "receipt": {
        "attribution": {
          "intentId": "string",
          "referralCode": "string",
          "sourceAgentId": "string"
        },
        "buyAmount": "string",
        "buyToken": "string",
        "chainId": 0,
        "createdAt": "2026-01-01T00:00:00Z",
        "executionMode": "standard",
        "expiresAt": "2026-01-01T00:00:00Z",
        "feeAmount": "string",
        "feeBps": 0,
        "feeRecipient": "string",
        "feeToken": "string",
        "gaslessTarget": "string",
        "payloadHash": "string",
        "quoteId": "string",
        "sellAmount": "string",
        "sellToken": "string",
        "taker": "string",
        "transactionTo": "string",
        "transactionValue": "string",
        "usdcNotional": "string"
      },
      "receiptSignature": "string",
      "sellAmount": "string",
      "sellToken": "string",
      "simulation": {
        "reason": "string",
        "status": "passed"
      },
      "taker": "string",
      "transaction": {
        "data": "string",
        "gas": "string",
        "gasPrice": "string",
        "to": "string",
        "value": "string"
      },
      "transactionDataHash": "string",
      "usdNotional": "string"
    },
    "type": "string"
  }
}