Quick Start
JavaScript
import { TrybClient } from '@tryb/sdk'
const tryb = new TrybClient({ apiKey: process.env.TRYB_API_KEY })
// Simple read
const page = await tryb.read({
url: 'https://news.ycombinator.com',
format: 'markdown'
})
console.log(page.content) // Clean markdown
// Structured extraction
const product = await tryb.read({
url: 'https://amazon.com/dp/B0...',
format: 'json',
extract: {
title: 'string',
price: 'number',
rating: 'number',
reviews: 'number',
availability: 'boolean'
}
})
console.log(product.data)
// { title: "iPhone 15 Pro", price: 999, rating: 4.8, ... }Developer-First Features
Built by developers, for developers. Every feature designed to save you time.
One Line of Code
Read any URL with a single API call. No setup, no configuration, no browser drivers.
tryb.read({ url: "https://example.com" })Batch Processing
Process thousands of URLs in parallel. Bulk discounts at $0.04/URL.
tryb.batch({ urls: [...1000 URLs] })Custom Extraction
Define a JSON schema, get structured data. Tables, prices, reviews—automatically extracted.
tryb.read({ url, extract: { price: "number" } })x402 Micropayments
Keyless, pay-per-request access via Lightning Network. Perfect for autonomous systems.
// No API key needed—just pay per requestOfficial SDKs
First-class support for your favorite language.
JavaScript/TypeScript
@tryb/sdknpm install @tryb/sdkPython
tryb-sdkpip install tryb-sdkGo
github.com/tryb/go-sdkgo get github.com/tryb/go-sdkcURL
REST APIcurl -X POST https://api.tryb.dev/v1/readSimple, Predictable Pricing
No hidden fees. No bandwidth charges. No surprises.
$0.05
per request
Standard API calls with full rendering
$0.04
per URL (batch)
20% discount for batch processing
100
free requests
Try before you buy—no credit card
Why Developers Choose Tryb
Without Tryb
- ✗Set up Puppeteer/Playwright infrastructure
- ✗Configure proxy rotation to avoid blocks
- ✗Handle CAPTCHAs and anti-bot systems
- ✗Parse messy HTML into usable data
- ✗Fix scrapers when websites change
With Tryb
- One API call—we handle everything
- Built-in proxy rotation and browser fingerprinting
- Automatic anti-bot bypass included
- Clean JSON/Markdown output ready to use
- Zero maintenance—we adapt to site changes