{
  "x402Version": 2,
  "id": 9928,
  "slug": "9928",
  "resource": "https://api.agent-payload-tools.workers.dev/hmac",
  "description": "Create or compare an HMAC using SHA-256, SHA-384, or SHA-512.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6B2683F66d35b91ED05a1646c0305b02260B6acB",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6cBob4SADGcWdsMPxkSnJ9GYL5EvmENkJnjfeVPBTxfA",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "algorithm": "SHA-256",
            "input": "message",
            "secret": "shared-secret"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "http://json-schema.org/draft-07/schema#",
                "properties": {
                  "algorithm": {
                    "description": "Digest algorithm. Defaults to SHA-256.",
                    "enum": [
                      "SHA-256",
                      "SHA-384",
                      "SHA-512"
                    ],
                    "type": "string"
                  },
                  "expected_hex": {
                    "description": "Optional hexadecimal digest to compare in constant time.",
                    "pattern": "^[0-9a-fA-F]*$",
                    "type": "string"
                  },
                  "input": {
                    "default": "",
                    "description": "UTF-8 message to authenticate.",
                    "type": "string"
                  },
                  "secret": {
                    "description": "HMAC secret for this call. It is not stored.",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "secret"
                ],
                "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.agent-payload-tools.workers.dev",
  "lastUpdated": "2026-09-04T13:25:28.149Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-04T13:25:27.618Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agent-payload-tools.workers.dev",
    "manifest_name": "api.agent-payload-tools.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}