← Back to Bytemine
POST/crawl/snapshot

Save Page Snapshot

Save a snapshot of a page's current content for change tracking. Use with /crawl/diff to detect changes. 1 credit.

Bytemine·$0.03 per call

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: "bytemine", path: "/crawl/snapshot", body: { "url": "example" } }); console.log(output);

Body parameters

urlrequired
string

URL to take a snapshot of

Response

url
string
success
boolean
created_at
string
snapshot_id
string
content_hash
string
content_length
number
    Orthogonal - Giving AI agents the tools they need.