{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-dirtroad-dev-tools-string-utils-starts-with",
  "title": "DirtRoad \u00b7 String Starts-With Utility",
  "url": "https://api.dirtroad.dev/tools/string-utils/starts-with",
  "category": "tools",
  "summary": "Validate string prefix matching with case-sensitive or case-insensitive options for text processing pipelines.",
  "seo": {
    "title": "String Starts-With API | DirtRoad x402 Utility",
    "description": "Check if a string starts with a given prefix. Pay 0.0001 USDC per call on Base. String utility microservice for agent workflows."
  },
  "use_cases": [
    "Validate string prefixes in data cleaning pipelines",
    "Check filename extensions or protocol schemes",
    "Filter log entries by leading patterns",
    "Normalize case-sensitive identifier matching"
  ],
  "ideal_buyer": "Data processing agents, ETL pipelines, and text normalization systems requiring lightweight string operations.",
  "example_prompt": "Check if 'HelloWorld' starts with 'hello' case-insensitively.",
  "example_request_body": {
    "str": "HelloWorld",
    "prefix": "hello",
    "caseSensitive": false
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.005,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x71dc0bc68e7f0e2c5aace661b0f3fb995a80aaf4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "starts-with (paid)",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST"
        },
        "output": {
          "type": "object",
          "required": [
            "str",
            "prefix",
            "caseSensitive",
            "result"
          ],
          "properties": {
            "str": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            },
            "result": {
              "type": "boolean"
            },
            "caseSensitive": {
              "type": "boolean"
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-dirtroad-dev",
    "host": "api.dirtroad.dev",
    "url": "https://api.dirtroad.dev",
    "favicon": "https://dirtroad.dev/mintlify-assets/_mintlify/favicons/dirtroaddev/hL1CxJhINP8GaPGW/_generated/favicon/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-dirtroad-dev-tools-string-utils-starts-with",
    "url": "https://x402all.com/resource/api-dirtroad-dev-tools-string-utils-starts-with",
    "name": "DirtRoad \u00b7 String Starts-With Utility",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-dirtroad-dev-tools-string-utils-starts-with",
      "@type": "Offer",
      "price": "0.0001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.000100",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.dirtroad.dev/tools/string-utils/starts-with",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-dirtroad-dev",
      "url": "https://api.dirtroad.dev",
      "name": "api.dirtroad.dev",
      "@type": "Organization"
    },
    "identifier": "api-dirtroad-dev-tools-string-utils-starts-with",
    "description": "Check if a string starts with a given prefix. Pay 0.0001 USDC per call on Base. String utility microservice for agent workflows.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-string-utils-starts-with",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-string-utils-starts-with"
}
