Safe4 payment authorization decision
Safe4 payment authorization decision
10000 (raw units)
price
99
calls / 30d
4
unique payers
2026-08-30
updated
Provider
api.safe4.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x1ffc103849B7Ad8866A151149290f6F496e9b439",
"asset": "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
"amount": "10000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:5042002",
"payTo": "0x1ffc103849B7Ad8866A151149290f6F496e9b439",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "10000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x1ffc103849B7Ad8866A151149290f6F496e9b439",
"asset": "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
"amount": "10000",
"maxTimeoutSeconds": 600
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x1ffc103849B7Ad8866A151149290f6F496e9b439",
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"amount": "10000",
"maxTimeoutSeconds": 600
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"agent_id": "agent-research-01",
"allowed_service_categories": [
"market-data",
"research"
],
"amount": "25.00",
"counterparty": "market-data-provider.example",
"currency": "USDC",
"purchase": "Market data API subscription",
"purchase_purpose": "Pull competitor pricing data for the research",
"service_category": "market-data",
"task": "Research competitor pricing for the Q4 strategy deck",
"task_id": "task-4417"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"audit": {
"entry_hash": "9f2c1d0a7b5e4c3f8a6d2b1e0c9f8a7d6b5e4c3f2a1d0b9c8e7f6a5d4c3b2a19",
"previous_hash": "3b1a9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1a09",
"recorded_at": "2026-08-19T10:32:04.117Z",
"sequence_number": 1841
},
"decision": "ALLOW",
"evaluator_version": "safe4-task-bound-v1",
"match_score": 0.75,
"matched_concepts": [
"competitor",
"pricing",
"research"
],
"payment": {
"amount": "10000",
"network": "eip155:8453",
"payer": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed",
"transaction": "a7f3c9e2-4b1d-4f8a-9c2e-6d5b4a3f2e1c"
},
"reason": "The proposed purchase matches the submitted task context.",
"reason_code": "TASK_PURCHASE_MATCH"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"agent_id": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"allowed_counterparties": {
"anyOf": [
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"allowed_service_categories": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"amount": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 1000000000000,
"type": "number"
},
{
"type": "string"
}
]
},
"counterparty": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"currency": {
"default": "USDC",
"maxLength": 10,
"minLength": 2,
"type": "string"
},
"purchase": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"purchase_purpose": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"service_category": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"task": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"task_id": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"task",
"purchase",
"purchase_purpose",
"amount",
"counterparty",
"service_category",
"allowed_service_categories"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.safe4.ai/v1/authorize" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.safe4.ai/v1/authorize");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.safe4.ai/v1/authorize")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/9046.json, and this resource appears in /discovery/resources and /discovery/search.