Fetch is Linkup’s real-time page content extractor. Given a URL, theDocumentation Index
Fetch the complete documentation index at: https://docs.linkup.so/llms.txt
Use this file to discover all available pages before exploring further.
/fetch route returns a
clean markdown rendering of the page, optimized for LLM consumption. Optional
JavaScript rendering is available, along with optional raw HTML and extracted image URLs.
Parameters
| Parameter | Default | Description |
|---|---|---|
url | (required) | The page to fetch. Must be a valid HTTP/HTTPS URL. |
renderJs | false | Render the page’s JavaScript before extraction. Required for client-side-rendered pages (SPAs, dashboards, many modern marketing sites). See pricing for the rendered-call rate. |
includeRawHtml | false | Return the original HTML alongside the markdown. Used for custom parsing or preservation of structures that markdown does not represent. |
extractImages | false | Return a separate list of image URLs alongside the markdown. |
renderJs, includeRawHtml, and extractImages is
covered on the
Fetch best practices
page.
Constraints
Pages over 20 MB return a
400 error. See the
rate-limits page for
request-rate limits.Pricing
| Mode | Cost |
|---|---|
renderJs is false | $0.001 per call |
renderJs is true | $0.005 per call |
Example
Get your API key
Create a Linkup account for free to get your API key.
rawHtml is present only when includeRawHtml is true. images is present
only when extractImages is true. markdown is always returned.
Next
Best practices
JavaScript rendering, common patterns, constraints.
For AI agents
Tool definition and integration prompt.
API reference
Full parameter spec and response schema.