{
  "tool": {
    "slug": "toxicity-check",
    "title": "Toxicity Check",
    "category": "Content Safety",
    "description": "Classify simple English and Russian toxicity/profanity patterns in text before an agent posts or stores output.",
    "buyerIntent": "Use as a cheap pre-filter before publishing generated comments, support replies, or extracted user content.",
    "tokenValue": "Avoids routing obvious toxic text into a larger moderation model.",
    "method": "POST",
    "rawBlueprintSlug": "toxic-content-moderation-filter",
    "priceUSDC": 0.006,
    "latencyTargetMs": 160,
    "status": "live-preview",
    "tags": [
      "moderation",
      "toxicity",
      "safety",
      "text"
    ],
    "requestSchema": {
      "type": "object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string"
        }
      }
    },
    "responseSchema": {
      "type": "object",
      "properties": {
        "isToxic": {
          "type": "boolean"
        },
        "score": {
          "type": "number"
        },
        "flaggedCategories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "sampleRequest": {
      "text": "Hello, thank you for the documentation."
    },
    "sampleResponse": {
      "isToxic": false,
      "score": 0,
      "flaggedCategories": []
    },
    "endpoint": "/api/v1/agent-tools/toxicity-check/",
    "absoluteEndpoint": "https://elpa.space/api/v1/agent-tools/toxicity-check/",
    "pageUrl": "https://elpa.space/agent-tools/#toxicity-check",
    "rawBlueprintUrl": "https://elpa.space/raw/toxic-content-moderation-filter",
    "priceLabel": "0.006 USDC"
  },
  "payment": {
    "protocol": "x402",
    "implementation": "x402 v2 exact EVM facilitator with legacy Base USDC transaction-hash fallback",
    "network": "Base",
    "networkCaip2": "eip155:8453",
    "currency": "USDC",
    "tokenContract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "recipientAddress": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
    "paymentHeaders": [
      "PAYMENT-SIGNATURE",
      "X-PAYMENT",
      "x402-tx-hash (legacy)"
    ],
    "challengeHeader": "PAYMENT-REQUIRED",
    "responseHeader": "PAYMENT-RESPONSE",
    "facilitatorEnv": [
      "X402_FACILITATOR_URL",
      "X402_FACILITATOR_AUTHORIZATION"
    ],
    "maxTimeoutSeconds": 120,
    "priceUSDC": 0.006,
    "x402": {
      "x402Version": 2,
      "resource": {
        "url": "https://elpa.space/api/v1/agent-tools/toxicity-check/",
        "description": "Classify simple English and Russian toxicity/profanity patterns in text before an agent posts or stores output.",
        "mimeType": "application/json",
        "serviceName": "ELPA Agent Tools",
        "tags": [
          "moderation",
          "toxicity",
          "safety",
          "text"
        ],
        "iconUrl": "https://elpa.space/logo.svg"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USDC",
            "version": "2",
            "decimals": 6
          }
        }
      ],
      "paymentRequired": {
        "x402Version": 2,
        "error": "PAYMENT-SIGNATURE header is required",
        "resource": {
          "url": "https://elpa.space/api/v1/agent-tools/toxicity-check/",
          "description": "Classify simple English and Russian toxicity/profanity patterns in text before an agent posts or stores output.",
          "mimeType": "application/json",
          "serviceName": "ELPA Agent Tools",
          "tags": [
            "moderation",
            "toxicity",
            "safety",
            "text"
          ],
          "iconUrl": "https://elpa.space/logo.svg"
        },
        "accepts": [
          {
            "scheme": "exact",
            "network": "eip155:8453",
            "amount": "6000",
            "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
            "maxTimeoutSeconds": 120,
            "extra": {
              "name": "USDC",
              "version": "2",
              "decimals": 6
            }
          }
        ],
        "extensions": {
          "bazaar": {
            "info": {
              "discoverable": true,
              "category": "Content Safety",
              "tags": [
                "moderation",
                "toxicity",
                "safety",
                "text"
              ],
              "input": {
                "text": "Hello, thank you for the documentation."
              },
              "output": {
                "isToxic": false,
                "score": 0,
                "flaggedCategories": []
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "discoverable": {
                  "type": "boolean"
                },
                "category": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "input": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string"
                    }
                  }
                },
                "output": {
                  "type": "object",
                  "properties": {
                    "isToxic": {
                      "type": "boolean"
                    },
                    "score": {
                      "type": "number"
                    },
                    "flaggedCategories": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "paymentRequiredBase64": "eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOiJQQVlNRU5ULVNJR05BVFVSRSBoZWFkZXIgaXMgcmVxdWlyZWQiLCJyZXNvdXJjZSI6eyJ1cmwiOiJodHRwczovL2VscGEuc3BhY2UvYXBpL3YxL2FnZW50LXRvb2xzL3RveGljaXR5LWNoZWNrLyIsImRlc2NyaXB0aW9uIjoiQ2xhc3NpZnkgc2ltcGxlIEVuZ2xpc2ggYW5kIFJ1c3NpYW4gdG94aWNpdHkvcHJvZmFuaXR5IHBhdHRlcm5zIGluIHRleHQgYmVmb3JlIGFuIGFnZW50IHBvc3RzIG9yIHN0b3JlcyBvdXRwdXQuIiwibWltZVR5cGUiOiJhcHBsaWNhdGlvbi9qc29uIiwic2VydmljZU5hbWUiOiJFTFBBIEFnZW50IFRvb2xzIiwidGFncyI6WyJtb2RlcmF0aW9uIiwidG94aWNpdHkiLCJzYWZldHkiLCJ0ZXh0Il0sImljb25VcmwiOiJodHRwczovL2VscGEuc3BhY2UvbG9nby5zdmcifSwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiI2MDAwIiwiYXNzZXQiOiIweDgzMzU4OWZjZDZlZGI2ZTA4ZjRjN2MzMmQ0ZjcxYjU0YmRhMDI5MTMiLCJwYXlUbyI6IjB4ZDlkNmFlMWQ1YTIxMjhmZWE1MTE0NjBmYWM4ZTRkZWE1OGJhZjE1MyIsIm1heFRpbWVvdXRTZWNvbmRzIjoxMjAsImV4dHJhIjp7Im5hbWUiOiJVU0RDIiwidmVyc2lvbiI6IjIiLCJkZWNpbWFscyI6Nn19XSwiZXh0ZW5zaW9ucyI6eyJiYXphYXIiOnsiaW5mbyI6eyJkaXNjb3ZlcmFibGUiOnRydWUsImNhdGVnb3J5IjoiQ29udGVudCBTYWZldHkiLCJ0YWdzIjpbIm1vZGVyYXRpb24iLCJ0b3hpY2l0eSIsInNhZmV0eSIsInRleHQiXSwiaW5wdXQiOnsidGV4dCI6IkhlbGxvLCB0aGFuayB5b3UgZm9yIHRoZSBkb2N1bWVudGF0aW9uLiJ9LCJvdXRwdXQiOnsiaXNUb3hpYyI6ZmFsc2UsInNjb3JlIjowLCJmbGFnZ2VkQ2F0ZWdvcmllcyI6W119fSwic2NoZW1hIjp7InR5cGUiOiJvYmplY3QiLCJwcm9wZXJ0aWVzIjp7ImRpc2NvdmVyYWJsZSI6eyJ0eXBlIjoiYm9vbGVhbiJ9LCJjYXRlZ29yeSI6eyJ0eXBlIjoic3RyaW5nIn0sInRhZ3MiOnsidHlwZSI6ImFycmF5IiwiaXRlbXMiOnsidHlwZSI6InN0cmluZyJ9fSwiaW5wdXQiOnsidHlwZSI6Im9iamVjdCIsInJlcXVpcmVkIjpbInRleHQiXSwicHJvcGVydGllcyI6eyJ0ZXh0Ijp7InR5cGUiOiJzdHJpbmcifX19LCJvdXRwdXQiOnsidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsiaXNUb3hpYyI6eyJ0eXBlIjoiYm9vbGVhbiJ9LCJzY29yZSI6eyJ0eXBlIjoibnVtYmVyIn0sImZsYWdnZWRDYXRlZ29yaWVzIjp7InR5cGUiOiJhcnJheSIsIml0ZW1zIjp7InR5cGUiOiJzdHJpbmcifX19fX19fX19",
      "facilitator": {
        "url": "https://api.cdp.coinbase.com/platform/v2/x402",
        "verify": "/verify",
        "settle": "/settle"
      },
      "legacy": {
        "enabled": true,
        "header": "x402-tx-hash",
        "note": "Legacy Base USDC transaction-hash receipts remain accepted for manual testing, but PAYMENT-SIGNATURE is the primary x402 path."
      }
    }
  }
}