{
  "x402Version": 2,
  "id": 9046,
  "slug": "9046",
  "resource": "https://api.safe4.ai/v1/authorize",
  "description": "Safe4 payment authorization decision",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.safe4.ai",
  "lastUpdated": "2026-08-30T15:33:45.161Z",
  "quality": {
    "calls30d": 99,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-08-30T15:33:44.901Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.safe4.ai",
    "manifest_name": "api.safe4.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}