← Back to Riveter
POST/v1/scrape

Scrape

Scrape a webpage and return the text content. This endpoint allows you to extract text content from any public webpage.

Riveter·Dynamic pricing

Dynamic pricing

0.2 * 1.025 + 0.004

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "riveter", path: "/v1/scrape", body: { "url": "example" } }); console.log(output);

Body parameters

urlrequired
string

Example: "https://example.com"

proxy_country_code
string

Optional two-character country code for proxy (e.g., 'us', 'gb', 'de')

skip_cache
boolean

Default: false. Set to true to bypass cache and always fetch fresh content

Response

url
string
text
string
message
string
run_key
string
credit_used
number
status_code
number
request_status
string
riveter_app_link
string
base_url_for_links
string
    Orthogonal - Giving AI agents the tools they need.