# Guides

> Guides for AI agents that call grist.tools APIs and pay per call via x402: which endpoint fits the job, what it costs, its limits and a real example.

## [How AI agents pay for APIs with x402](https://grist.tools/guides/x402-payments-for-ai-agents)

Learn the x402 request flow for AI agents: discover payment requirements, sign an authorization, read receipts, and handle deadlines and retries.

## [Turning web pages into LLM-ready text](https://grist.tools/guides/web-to-markdown-for-llms)

Choose endpoints for article Markdown, cleaned text, page metadata, structured data and links, then chain calls with explicit limits and retry handling.

## [Parsing PDF, DOCX, XLSX and EPUB for agents](https://grist.tools/guides/document-parsing-api)

Choose document endpoints for text, Markdown, JSON and image OCR, then build agent pipelines with explicit extraction limits, costs and retries.

## [Audio and video conversion API without ffmpeg servers](https://grist.tools/guides/audio-video-conversion-api)

Convert audio, extract tracks and captions, inspect media, and generate thumbnails or waveform peaks over HTTP with declared limits and per-call pricing.

This page as HTML: https://grist.tools/guides. Every page of grist.tools has a Markdown version at its address plus .md.
