Api Endpoint

AveDaris Agent Utilities

Pre-payment economic and structural preflight for an external Base USDC counterparty: check endpoint reachability, payment terms, recipient format, caller budget, and economic ceiling before any external payment is made. $0.025 USDC per call on Base.

Open interactive test console

Offering

Provider
api.avedaris.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.avedaris.com/v1/paid/counterparty-preflight
MIME type
application/json
First seen
2026-10-16T03:04:46.000Z
Last seen
Tags
agent-payments, counterparty, preflight, agent-tools

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.025 USDC
Atomic price: 25000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "25000",
    "payTo": "0x6c10344d3f96511438458e07a6f2be568a76dfff"
  }
]

Observed health

Status
Healthy
Latest latency
183 ms
Average latency
678 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "endpoint",
        "paymentRequirement",
        "maxSpendUsd"
      ],
      "properties": {
        "endpoint": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8192,
          "description": "Public HTTP(S) seller endpoint to preflight."
        },
        "paymentRequirement": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "amountUsd",
            "network",
            "asset",
            "payTo"
          ],
          "properties": {
            "amountUsd": {
              "type": "number",
              "exclusiveMinimum": 0,
              "description": "Quoted price in USD as a positive number, e.g. 0.01."
            },
            "network": {
              "type": "string",
              "description": "v1 accepts Base / eip155:8453."
            },
            "asset": {
              "type": "string",
              "description": "v1 accepts USDC or the canonical Base USDC contract address."
            },
            "payTo": {
              "type": "string",
              "description": "Proposed EVM settlement recipient."
            }
          },
          "description": "The seller's quoted x402 payment requirement to check before paying, as amountUsd, network, asset and payTo."
        },
        "maxSpendUsd": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Caller hard budget ceiling for this prospective purchase."
        },
        "maxEconomicallyRationalSpendUsd": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Optional caller economic ceiling; defaults to maxSpendUsd."
        },
        "outcomeValueUsd": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Optional caller-estimated value of a successful outcome. AUN does not infer this in v1."
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "endpoint": {
              "description": "Public HTTP(S) seller endpoint to preflight.",
              "maxLength": 8192,
              "minLength": 8,
              "type": "string"
            },
            "maxEconomicallyRationalSpendUsd": {
              "description": "Optional caller economic ceiling; defaults to maxSpendUsd.",
              "exclusiveMinimum": 0,
              "type": "number"
            },
            "maxSpendUsd": {
              "description": "Caller hard budget ceiling for this prospective purchase.",
              "exclusiveMinimum": 0,
              "type": "number"
            },
            "outcomeValueUsd": {
              "description": "Optional caller-estimated value of a successful outcome. AUN does not infer this in v1.",
              "exclusiveMinimum": 0,
              "type": "number"
            },
            "paymentRequirement": {
              "additionalProperties": false,
              "description": "The seller's quoted x402 payment requirement to check before paying, as amountUsd, network, asset and payTo.",
              "properties": {
                "amountUsd": {
                  "description": "Quoted price in USD as a positive number, e.g. 0.01.",
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "asset": {
                  "description": "v1 accepts USDC or the canonical Base USDC contract address.",
                  "type": "string"
                },
                "network": {
                  "description": "v1 accepts Base / eip155:8453.",
                  "type": "string"
                },
                "payTo": {
                  "description": "Proposed EVM settlement recipient.",
                  "type": "string"
                }
              },
              "required": [
                "amountUsd",
                "network",
                "asset",
                "payTo"
              ],
              "type": "object"
            }
          },
          "required": [
            "endpoint",
            "paymentRequirement",
            "maxSpendUsd"
          ],
          "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": {
          "properties": {
            "result": {
              "description": "Output of counterparty.preflight. The fields below are the documented core; some responses add further detail fields.",
              "properties": {
                "advisoryOnly": {
                  "description": "Always true: this is advice, not an enforcement.",
                  "type": "boolean"
                },
                "confidence": {
                  "description": "Confidence in the decision from 0 to 1, higher when more signals were checked.",
                  "type": "number"
                },
                "decision": {
                  "description": "allow (all checks pass), review (seller endpoint could not be confirmed) or deny (any check failed).",
                  "type": "string"
                },
                "economicFit": {
                  "description": "Budget checks for the quoted price.",
                  "properties": {
                    "requestedWithinBudget": {
                      "description": "true when the quoted amount is at or under maxSpendUsd.",
                      "type": "boolean"
                    },
                    "requestedWithinEconomicCeiling": {
                      "description": "true when the quoted amount is at or under your economic ceiling.",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "requestedWithinBudget",
                    "requestedWithinEconomicCeiling"
                  ],
                  "type": "object"
                },
                "evidence": {
                  "description": "One entry per check performed.",
                  "items": {
                    "description": "One entry per check performed.",
                    "properties": {
                      "code": {
                        "description": "Check id, e.g. network_supported, asset_supported, recipient_format, budget_fit.",
                        "type": "string"
                      },
                      "status": {
                        "description": "pass, warn or fail.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "status"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "paymentExecuted": {
                  "description": "Always false: no payment is made to the seller.",
                  "type": "boolean"
                },
                "scope": {
                  "description": "Rule set applied, currently base_usdc_x402_preflight_v1.",
                  "type": "string"
                }
              },
              "required": [
                "decision",
                "advisoryOnly",
                "paymentExecuted",
                "scope",
                "economicFit",
                "evidence",
                "confidence"
              ],
              "type": "object"
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}