{
  "format": "delx/intent-card/v1",
  "id": "starts-with-api",
  "intent": "Starts With for an agent workflow",
  "title": "Starts With API for agents",
  "description": "Check whether text starts with a prefix. Call when you gate URL/scheme or header prefix checks before egress. Returns boolean result and prefix 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": [
    "Starts With API",
    "Starts With for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/starts-with-api",
  "machine_url": "https://commerce.delx.ai/intents/starts-with-api.json",
  "recommendation": {
    "tool_name": "util_starts_with",
    "service_name": "Delx Starts With",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/starts-with",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "description": "Input field: text.",
          "type": "string"
        },
        "prefix": {
          "description": "Input field: prefix.",
          "type": "string"
        }
      },
      "required": [
        "text",
        "prefix"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "text": "https://api.delx.ai/x",
      "prefix": "https://"
    },
    "example_output": {
      "schema": "delx/util-starts-with/v1",
      "result": true,
      "prefix": "https://"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/starts-with -m POST -H 'x-delx-source: intent-card-starts-with-api' --max-amount 0.001 -b '{\"text\":\"https://api.delx.ai/x\",\"prefix\":\"https://\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-starts-with-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/starts-with"
  }
}
