{
  "x402Version": 2,
  "id": 55216,
  "slug": "55216",
  "resource": "https://api.arcgate.dev/trade/v1/swap",
  "description": "Swap transactions",
  "type": "http",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amountOutSimulated": {
            "pattern": "^\\d+(\\.\\d+)?$",
            "type": "string"
          },
          "attestation": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "block": {
            "type": "integer"
          },
          "expiresAt": {
            "type": "string"
          },
          "minAmountOut": {
            "pattern": "^\\d+(\\.\\d+)?$",
            "type": "string"
          },
          "next": {
            "enum": [
              "requote",
              "retry",
              "fix_request",
              "stop",
              "pay",
              "sign_permit",
              "swap",
              "send",
              "done"
            ],
            "type": "string"
          },
          "quoteId": {
            "pattern": "^q_[0-9a-f]{16,}$",
            "type": "string"
          },
          "recipient": {
            "pattern": "^0x[0-9a-f]{40}$",
            "type": "string"
          },
          "safety": {
            "type": "object"
          },
          "signatures": {
            "type": "array"
          },
          "transactions": {
            "type": "array"
          },
          "warnings": {
            "type": "array"
          }
        },
        "required": [
          "quoteId",
          "block",
          "expiresAt",
          "signatures",
          "transactions",
          "amountOutSimulated",
          "minAmountOut",
          "recipient",
          "safety",
          "attestation",
          "warnings",
          "next"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "quoteId": "q_884b5883d6095ae4",
            "taker": "0x7336cf1062975bD942cc4f1bA33b44bB7F1FbB33"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amountOutSimulated": "37363756124729788",
            "attestation": null,
            "block": 23584000,
            "expiresAt": "2026-10-09T23:55:11.000Z",
            "minAmountOut": "36990118563482490",
            "next": "sign_permit",
            "quoteId": "q_884b5883d6095ae4",
            "recipient": "0x7336cf1062975bd942cc4f1ba33b44bb7f1fbb33",
            "safety": {
              "scope": {
                "block": 23584000,
                "walletProfile": "taker"
              },
              "verdict": "pinned"
            },
            "signatures": [
              {
                "kind": "permit2",
                "typedData": {
                  "domain": {
                    "chainId": 5042,
                    "name": "Permit2",
                    "verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
                  },
                  "message": {
                    "details": {
                      "amount": "100000000",
                      "expiration": "1794182051",
                      "nonce": "0",
                      "token": "0x3600000000000000000000000000000000000000"
                    },
                    "sigDeadline": "1791590111",
                    "spender": "0x6cf4f7785d479b9ec1c3abe2fb569525380baede"
                  },
                  "primaryType": "PermitSingle",
                  "types": {
                    "PermitDetails": [
                      {
                        "name": "token",
                        "type": "address"
                      }
                    ],
                    "PermitSingle": [
                      {
                        "name": "details",
                        "type": "PermitDetails"
                      }
                    ]
                  }
                }
              }
            ],
            "transactions": [
              {
                "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                "gas": "72444",
                "purpose": "approve",
                "to": "0x3600000000000000000000000000000000000000",
                "value": "0"
              }
            ],
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "approval": {
                    "enum": [
                      "permit2",
                      "approve"
                    ],
                    "type": "string"
                  },
                  "deadlineSec": {
                    "maximum": 600,
                    "minimum": 10,
                    "type": "integer"
                  },
                  "quoteId": {
                    "pattern": "^q_[0-9a-f]{16,}$",
                    "type": "string"
                  },
                  "recipient": {
                    "anyOf": [
                      {
                        "pattern": "^0x[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "taker": {
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "quoteId",
                  "taker"
                ],
                "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,
                "properties": {
                  "amountOutSimulated": {
                    "pattern": "^\\d+(\\.\\d+)?$",
                    "type": "string"
                  },
                  "attestation": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "block": {
                    "type": "integer"
                  },
                  "expiresAt": {
                    "type": "string"
                  },
                  "minAmountOut": {
                    "pattern": "^\\d+(\\.\\d+)?$",
                    "type": "string"
                  },
                  "next": {
                    "enum": [
                      "requote",
                      "retry",
                      "fix_request",
                      "stop",
                      "pay",
                      "sign_permit",
                      "swap",
                      "send",
                      "done"
                    ],
                    "type": "string"
                  },
                  "quoteId": {
                    "pattern": "^q_[0-9a-f]{16,}$",
                    "type": "string"
                  },
                  "recipient": {
                    "pattern": "^0x[0-9a-f]{40}$",
                    "type": "string"
                  },
                  "safety": {
                    "type": "object"
                  },
                  "signatures": {
                    "type": "array"
                  },
                  "transactions": {
                    "type": "array"
                  },
                  "warnings": {
                    "type": "array"
                  }
                },
                "required": [
                  "quoteId",
                  "block",
                  "expiresAt",
                  "signatures",
                  "transactions",
                  "amountOutSimulated",
                  "minAmountOut",
                  "recipient",
                  "safety",
                  "attestation",
                  "warnings",
                  "next"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.arcgate.dev",
  "lastUpdated": "2026-10-10T02:38:05.182Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-10T02:38:04.919Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "quoteId": "q_884b5883d6095ae4",
              "taker": "0x7336cf1062975bD942cc4f1bA33b44bB7F1FbB33"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amountOutSimulated": "37363756124729788",
              "attestation": null,
              "block": 23584000,
              "expiresAt": "2026-10-09T23:55:11.000Z",
              "minAmountOut": "36990118563482490",
              "next": "sign_permit",
              "quoteId": "q_884b5883d6095ae4",
              "recipient": "0x7336cf1062975bd942cc4f1ba33b44bb7f1fbb33",
              "safety": {
                "scope": {
                  "block": 23584000,
                  "walletProfile": "taker"
                },
                "verdict": "pinned"
              },
              "signatures": [
                {
                  "kind": "permit2",
                  "typedData": {
                    "domain": {
                      "chainId": 5042,
                      "name": "Permit2",
                      "verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
                    },
                    "message": {
                      "details": {
                        "amount": "100000000",
                        "expiration": "1794182051",
                        "nonce": "0",
                        "token": "0x3600000000000000000000000000000000000000"
                      },
                      "sigDeadline": "1791590111",
                      "spender": "0x6cf4f7785d479b9ec1c3abe2fb569525380baede"
                    },
                    "primaryType": "PermitSingle",
                    "types": {
                      "PermitDetails": [
                        {
                          "name": "token",
                          "type": "address"
                        }
                      ],
                      "PermitSingle": [
                        {
                          "name": "details",
                          "type": "PermitDetails"
                        }
                      ]
                    }
                  }
                }
              ],
              "transactions": [
                {
                  "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                  "gas": "72444",
                  "purpose": "approve",
                  "to": "0x3600000000000000000000000000000000000000",
                  "value": "0"
                }
              ],
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "approval": {
                      "enum": [
                        "permit2",
                        "approve"
                      ],
                      "type": "string"
                    },
                    "deadlineSec": {
                      "maximum": 600,
                      "minimum": 10,
                      "type": "integer"
                    },
                    "quoteId": {
                      "pattern": "^q_[0-9a-f]{16,}$",
                      "type": "string"
                    },
                    "recipient": {
                      "anyOf": [
                        {
                          "pattern": "^0x[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taker": {
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "quoteId",
                    "taker"
                  ],
                  "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,
                  "properties": {
                    "amountOutSimulated": {
                      "pattern": "^\\d+(\\.\\d+)?$",
                      "type": "string"
                    },
                    "attestation": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "block": {
                      "type": "integer"
                    },
                    "expiresAt": {
                      "type": "string"
                    },
                    "minAmountOut": {
                      "pattern": "^\\d+(\\.\\d+)?$",
                      "type": "string"
                    },
                    "next": {
                      "enum": [
                        "requote",
                        "retry",
                        "fix_request",
                        "stop",
                        "pay",
                        "sign_permit",
                        "swap",
                        "send",
                        "done"
                      ],
                      "type": "string"
                    },
                    "quoteId": {
                      "pattern": "^q_[0-9a-f]{16,}$",
                      "type": "string"
                    },
                    "recipient": {
                      "pattern": "^0x[0-9a-f]{40}$",
                      "type": "string"
                    },
                    "safety": {
                      "type": "object"
                    },
                    "signatures": {
                      "type": "array"
                    },
                    "transactions": {
                      "type": "array"
                    },
                    "warnings": {
                      "type": "array"
                    }
                  },
                  "required": [
                    "quoteId",
                    "block",
                    "expiresAt",
                    "signatures",
                    "transactions",
                    "amountOutSimulated",
                    "minAmountOut",
                    "recipient",
                    "safety",
                    "attestation",
                    "warnings",
                    "next"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.arcgate.dev",
    "manifest_name": "api.arcgate.dev",
    "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": {
      "amountOutSimulated": "string",
      "attestation": null,
      "block": 0,
      "expiresAt": "string",
      "minAmountOut": "string",
      "next": "requote",
      "quoteId": "string",
      "recipient": "string",
      "safety": {},
      "signatures": [
        "value"
      ],
      "transactions": [
        "value"
      ],
      "warnings": [
        "value"
      ]
    },
    "type": "string"
  }
}