{
  "format": "delx/intent-card/v1",
  "id": "contains-text-api",
  "intent": "Contains Text for an agent workflow",
  "title": "Contains Text API for agents",
  "description": "Check whether text contains a needle (optional ignore_case). Call when you need a cheap membership check on agent-held strings. Returns boolean result with ignore_case flag for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "Contains Text API",
    "Contains Text for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/contains-text-api",
  "machine_url": "https://commerce.delx.ai/intents/contains-text-api.json",
  "recommendation": {
    "tool_name": "util_contains_text",
    "service_name": "Delx Contains Text",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/contains-text",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "description": "Input field: text.",
          "type": "string"
        },
        "needle": {
          "description": "Input field: needle.",
          "type": "string"
        },
        "ignore_case": {
          "description": "Input field: ignore case.",
          "type": "boolean"
        }
      },
      "required": [
        "text",
        "needle"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "text": "https://api.delx.ai/x",
      "needle": "DELX",
      "ignore_case": true
    },
    "example_output": {
      "schema": "delx/util-contains-text/v1",
      "result": true,
      "ignore_case": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/contains-text -m POST -H 'x-delx-source: intent-card-contains-text-api' --max-amount 0.001 -b '{\"text\":\"https://api.delx.ai/x\",\"needle\":\"DELX\",\"ignore_case\":true}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-contains-text-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/contains-text"
  }
}
