Api Endpoint

SweetAI

Call this before paying any agent: Should I Pay? Binary decision (PAY/CAUTION/SKIP) with confidence and expected USDC loss before sending money to an unknown agent. Target by ERC-8004 agent_id, Solana pubkey, x402 seller_url or pay_to wallet. Every response includes a shareable verdict page and card image. GET or POST with JSON body. No account, no API key

Open interactive test console

Offering

Provider
sweetai.tiamatcrypto.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://sweetai.tiamatcrypto.com/api/v1/should-i-pay
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
agent-economy, erc8004, multichain-usdc

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xB96A8dD8f9C7c644Ae9EAFaaaD77495BfABE3DFb"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0xB96A8dD8f9C7c644Ae9EAFaaaD77495BfABE3DFb"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0xB96A8dD8f9C7c644Ae9EAFaaaD77495BfABE3DFb"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "5bKseMEr9NjCRgLuoiGPDfkvcq9usgpRQtJg6rF4wnDc"
  }
]

Observed health

Status
Healthy
Latest latency
1182 ms
Average latency
2636 ms
HTTP status
402
Last checked
Reachability
92.9% 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": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "agent_id": {
          "type": "integer",
          "description": "ERC-8004 agent ID"
        },
        "solana_asset": {
          "type": "string",
          "description": "Solana agent pubkey"
        },
        "seller_url": {
          "type": "string",
          "description": "x402 seller resource URL or domain"
        },
        "pay_to": {
          "type": "string",
          "description": "seller payTo wallet — EVM 0x… or Solana base58"
        },
        "amount_usd": {
          "type": "number",
          "description": "USDC amount you are about to pay"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "agent_id": {
              "description": "ERC-8004 agent ID",
              "type": "integer"
            },
            "amount_usd": {
              "description": "USDC amount you are about to pay",
              "type": "number"
            },
            "solana_asset": {
              "description": "Solana agent pubkey",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}