{
  "format": "delx/intent-card/v1",
  "id": "markdown-heading-index-api",
  "intent": "Markdown Heading Index for an agent workflow",
  "title": "Markdown Heading Index API for agents",
  "description": "Index markdown ATX headings from caller-supplied text only — call when indexing ATX headings in caller-supplied markdown. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Markdown Heading Index API",
    "Markdown Heading Index for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/markdown-heading-index-api",
  "machine_url": "https://commerce.delx.ai/intents/markdown-heading-index-api.json",
  "recommendation": {
    "tool_name": "util_markdown_heading_index",
    "service_name": "Delx Markdown Heading Index",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/markdown-heading-index",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only).",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "text": "# Title\n\n## Section\nbody"
    },
    "example_output": {
      "schema": "delx/util-markdown-heading-index/v1",
      "heading_count": 2,
      "headings": [
        {
          "level": 1,
          "title": "Title"
        },
        {
          "level": 2,
          "title": "Section"
        }
      ],
      "truncated": false
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/markdown-heading-index -m POST -H 'x-delx-source: intent-card-markdown-heading-index-api' --max-amount 0.003 -b '{\"text\":\"# Title\\n\\n## Section\\nbody\"}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-markdown-heading-index-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/markdown-heading-index"
  }
}
