Skip to main content
The WebLinq API provides powerful endpoints for web automation and content extraction. All endpoints use REST principles and require authentication.
Need to get started quickly? Check our quickstart guide.

Base URL

https://api.weblinq.dev/v1
Always use HTTPS and include the /v1 prefix for all API requests.

Authentication

Include your API key in the Authorization header:
curl -X POST "https://api.weblinq.dev/v1/web/screenshot" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

Available Endpoints

Web Operations

Screenshot

Capture webpage screenshots

Extract Markdown

Convert pages to clean Markdown

Extract JSON

AI-powered structured data extraction

Generate PDF

Create PDFs from web pages

Get HTML Content

Retrieve raw HTML content

Scrape Elements

Extract specific elements with selectors

Extract Links

Get all links from a page

Web Search

Search the web programmatically

API Keys

Create Key

Generate a new API key

List Keys

View all your API keys

Get Key Details

View details of a specific key

Delete Key

Revoke an API key

User

Current User

Get current user details

Files

List Files

View stored files

Delete File

Remove stored files

Response Format

All responses follow a standard format:
Success Response
{
  "success": true,
  "data": {
    // Your response data here
  },
  "creditsCost": 1
}
Error Response
{
  "success": false,
  "error": {
    "message": "Error description",
    "code": "error_code"
  }
}

Rate Limits

Rate limits are enforced per API key:
  • Free plan: 100 requests/hour
  • Pro plan: 1,000 requests/hour
Rate limit headers are included in responses:
  • X-RateLimit-Limit: Total requests allowed
  • X-RateLimit-Remaining: Remaining requests
  • X-RateLimit-Reset: Reset timestamp

Need Help?

Get Support

Email us for technical support

Error Handling

Learn about error codes