Getting StartedQuickstart

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);
{
  "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
  • curl or a HTTP client like fetch or requests

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.

Parameters Reference

path
urlstring
Required

The target URL to extract. URL-encode if needed.

query
extractstring

Optional schema for structured extraction, like {title: string, summary: string}.

Next Steps

Monitor usage in the dashboard. Free tier includes generous credits — upgrade for production scale.