---
title: "Url To Llm Markdown"
method: POST
path: "/v1/url-to-llm-markdown"
tags: ["fresh-state", "x402", "live-data", "agent-utility"]
---

# Url To Llm Markdown

`POST /v1/url-to-llm-markdown`

## Request

- Base URL: `https://api.salt19.com`
- URL: `https://api.salt19.com/v1/url-to-llm-markdown`
- Auth: none declared

Fetch a public web page, remove scripts/styles/navigation noise, and return bounded LLM-friendly Markdown plus canonical URL and fetch provenance. Current x402 price: $0.01.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `url` string, uri, required
  - `max_chars` integer

## Response `200`

Fresh-State result

## Other responses

- `400`: Invalid input
- `402`: x402 Payment Required
- `502`: Upstream state source unavailable

---

[API](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid.md) · [All operations](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid/llms.txt) · [OpenAPI document](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid/revisions/c2520ca8ffbf?raw)
