{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-venice-ai-api-v1-augment-text-parser",
  "title": "Venice AI \u00b7 Document text extraction",
  "url": "https://api.venice.ai/api/v1/augment/text-parser",
  "category": "ai",
  "summary": "Parse documents to extract text content with accurate token counting for LLM context window management.",
  "seo": {
    "title": "Venice Text Parser API - Document extraction via x402",
    "description": "Extract text and token counts from documents via x402. $10 USDC on Base. Private uncensored AI document parsing with token counting for LLM context management."
  },
  "use_cases": [
    "Extract text from documents for LLM ingestion",
    "Calculate token counts for context window planning",
    "Prepare document content for RAG pipeline ingestion"
  ],
  "ideal_buyer": "LLM applications and RAG systems needing private document parsing with precise token accounting.",
  "example_prompt": "Extract all text from this PDF and tell me the exact token count so I know if it fits in my context window.",
  "example_request_body": {
    "format": "pdf",
    "document": "[base64 encoded document]"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive_outlier",
    "ratio": 500,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x2670b922ef37c7df47158725c0cc407b5382293f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyFields": {
            "file": {
              "type": "string",
              "required": true,
              "description": "The document file to parse. Supported formats: PDF, DOCX, XLSX, and plain text files. Maximum size: 25MB."
            },
            "response_format": {
              "enum": [
                "json",
                "text"
              ],
              "type": "string",
              "description": "The format of the response output. \"json\" returns structured JSON with text and token count, \"text\" returns only the extracted text."
            }
          }
        },
        "output": {
          "type": "object",
          "required": [
            "text",
            "tokens"
          ],
          "properties": {
            "text": {
              "type": "string",
              "description": "The extracted text content from the document."
            },
            "tokens": {
              "type": "number",
              "description": "The token count of the extracted text."
            }
          },
          "description": "Text parser response containing extracted text and token count."
        }
      }
    }
  ],
  "origin": {
    "slug": "api-venice-ai",
    "host": "api.venice.ai",
    "title": "Venice API Docs",
    "description": "Harness the full capabilities of Venice AI with the Venice API, a private and uncensored AI API enabling the development of advanced applications that generate text and images.",
    "url": "https://api.venice.ai",
    "og_image": "https://venice.ai/images/venice_social_preview.png",
    "favicon": "https://docs.venice.ai/mintlify-assets/_mintlify/favicons/veniceai/HJGBlV4jYrSOrFXh/_generated/favicon/favicon-16x16.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-venice-ai-api-v1-augment-text-parser",
    "url": "https://x402all.com/resource/api-venice-ai-api-v1-augment-text-parser",
    "name": "Venice AI \u00b7 Document text extraction",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-venice-ai-api-v1-augment-text-parser",
      "@type": "Offer",
      "price": "10",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "10.000000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.venice.ai/api/v1/augment/text-parser",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-venice-ai",
      "url": "https://api.venice.ai",
      "name": "Venice API Docs",
      "@type": "Organization"
    },
    "identifier": "api-venice-ai-api-v1-augment-text-parser",
    "description": "Extract text and token counts from documents via x402. $10 USDC on Base. Private uncensored AI document parsing with token counting for LLM context management.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-venice-ai-api-v1-augment-text-parser",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-venice-ai-api-v1-augment-text-parser"
}
