{
  "x402Version": 2,
  "id": 57526,
  "slug": "57526",
  "resource": "https://kya-br-agents.marcelfons.workers.dev/v1/agents",
  "description": "Register an AI agent for a Brazilian company: agent key (EVM address or Web Bot Auth Ed25519 key), CNPJ and a mandate (JSON, validated against /.well-known/kya-mandate.schema.json). Returns a one-time challenge the agent signs with its key and the company signs with its e-CNPJ (CMS/PKCS#7). Price covers the checks at issuance.",
  "type": "http",
  "serviceName": "KYA Brasil",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb5a72bb9106975869165C380E52D157388346626",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "agent": {
              "id": "0x0000000000000000000000000000000000000001",
              "kind": "evm"
            },
            "cnpj": "00000000000191",
            "mandate": {
              "actions": [
                "pay"
              ],
              "currencies": [
                "USDC"
              ],
              "max_per_operation": {
                "amount": 100,
                "currency": "USDC"
              }
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "agent": {
              "id": "0xAbC…",
              "kind": "evm"
            },
            "challenge": {
              "expires_at": "…",
              "id": "…",
              "text": "KYA Brasil: prove this agent key acts for a company\n…"
            },
            "credential_id": "6d0b…",
            "next": {
              "en": "Sign challenge.text with the agent key and with the e-CNPJ, then POST /v1/agents/{id}/prove"
            },
            "principal": {
              "cnpj": "00000000000191"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "agent": {
                    "description": "{kind: 'evm' | 'web-bot-auth' | 'erc8004', id: address, base64url Ed25519 public key, or eip155:<chainId>:<identityRegistry>:<agentId>}",
                    "type": "object"
                  },
                  "cnpj": {
                    "type": "string"
                  },
                  "mandate": {
                    "description": "JSON validated by /.well-known/kya-mandate.schema.json",
                    "type": "object"
                  }
                },
                "required": [
                  "agent",
                  "cnpj",
                  "mandate"
                ]
              },
              "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": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "brazil",
    "kya",
    "agent-identity",
    "kyb",
    "attestation",
    "bazaar"
  ],
  "sourceHost": "kya-br-agents.marcelfons.workers.dev",
  "lastUpdated": "2026-10-13T16:09:54.327Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T16:09:53.411Z"
  },
  "metadata": {
    "serviceName": "KYA Brasil",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "agent": {
                "id": "0x0000000000000000000000000000000000000001",
                "kind": "evm"
              },
              "cnpj": "00000000000191",
              "mandate": {
                "actions": [
                  "pay"
                ],
                "currencies": [
                  "USDC"
                ],
                "max_per_operation": {
                  "amount": 100,
                  "currency": "USDC"
                }
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "agent": {
                "id": "0xAbC…",
                "kind": "evm"
              },
              "challenge": {
                "expires_at": "…",
                "id": "…",
                "text": "KYA Brasil: prove this agent key acts for a company\n…"
              },
              "credential_id": "6d0b…",
              "next": {
                "en": "Sign challenge.text with the agent key and with the e-CNPJ, then POST /v1/agents/{id}/prove"
              },
              "principal": {
                "cnpj": "00000000000191"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "agent": {
                      "description": "{kind: 'evm' | 'web-bot-auth' | 'erc8004', id: address, base64url Ed25519 public key, or eip155:<chainId>:<identityRegistry>:<agentId>}",
                      "type": "object"
                    },
                    "cnpj": {
                      "type": "string"
                    },
                    "mandate": {
                      "description": "JSON validated by /.well-known/kya-mandate.schema.json",
                      "type": "object"
                    }
                  },
                  "required": [
                    "agent",
                    "cnpj",
                    "mandate"
                  ]
                },
                "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": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "kya-br-agents.marcelfons.workers.dev",
    "manifest_name": "kya-br-agents.marcelfons.workers.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": {},
    "type": "string"
  }
}