Quickstart Guide
Get started with Chuger in minutes by making your first API call to extract content from a URL.
const response = await fetch('https://api.chuger.com/v1/content?url=https%3A%2F%2Fexample.com', {
headers: {
'Authorization': `Bearer ${YOUR_API_TOKEN}`,
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data.markdown);
curl "https://api.chuger.com/v1/content?url=https%3A%2F%2Fexample.com" \
-H "Authorization: Bearer ${YOUR_API_TOKEN}" \
-H "Content-Type: application/json"
import requests
response = requests.get(
'https://api.chuger.com/v1/content',
params={'url': 'https://example.com'},
headers={'Authorization': f'Bearer {YOUR_API_TOKEN}'}
)
print(response.json()['markdown'])
{
"success": true,
"markdown": "# Example Domain
This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
[More information...](https://www.iana.org/domains/example)",
"metadata": {
"title": "Example Domain",
"url": "https://example.com"
}
}
Prerequisites
Before starting, create a free Chuger account at https://www.chuger.com/register. After signing in, navigate to the dashboard at https://app.chuger.com/dashboard and generate your API token from the API Tokens section. Copy the token as YOUR_API_TOKEN.
You need:
- A Chuger API token
curlor a HTTP client likefetchorrequests
Step 1: Extract content from a URL
Use the /v1/content endpoint to convert any URL into clean markdown. This removes ads, navigation, and scripts automatically.
Prepare your request
The endpoint requires your Authorization header with the Bearer token. Target a public URL like https://example.com.
Send the request
Make a GET request to https://api.chuger.com/v1/content?url={encoded_url}.
Parse the response
The response includes clean markdown ready for your AI or app.
API Request and Response Examples
Test the /v1/content endpoint across languages.
Your response contains markdown stripped of clutter. Feed it directly into LLMs for summarization or analysis.
Test in the Dashboard Playground
Visit https://app.chuger.com/dashboard, select Playground, and paste a URL. No code required — see live markdown output and usage stats instantly.
Enter https://news.ycombinator.com and click Extract. Review the clean markdown below the preview.
View past requests, latencies, and retry any extraction.
Parameters Reference
The target URL to extract. URL-encode if needed.
Optional schema for structured extraction, like {title: string, summary: string}.
Next Steps
Search the Web
Use /v1/serp to find URLs by keyword before extracting.
Bulk Extraction
Process multiple URLs in one call with /v1/content/bulk.
MCP Server
Integrate with AI tools like Claude via our MCP server.
Authentication
Secure your token and handle rate limits.
Monitor usage in the dashboard. Free tier includes generous credits — upgrade for production scale.
Last updated today
Built with Documentation.AI