Get an API key
The Scout console is not public yet. Early-access keys (
sk_scout_…) are issued manually and share one credit wallet per Macrocontent account.Copy the secret once when you receive it — it is shown only at creation.
Use the Scout base URL
API base URL:
https://api.scout.macrocontent.devInteractive docs:
https://api.scout.macrocontent.dev/docsHealth check (no auth, 0 credits)
curl https://api.scout.macrocontent.dev/healthExample response:
{ "status": "ok", "service": "macro-scout", "version": "0.5.0" }First billed call
Screenshot JSON costs 8 credits. Free tier allows about ~30 requests/min (see tiers).
curl -X POST https://api.scout.macrocontent.dev/v1/screenshot/json \ -H "Authorization: Bearer sk_scout_…" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com","format":"jpeg"}'Example response (truncated):
{ "status": "success", "url": "https://example.com", "final_url": "https://example.com/", "capture_height": 800, "content_type": "image/jpeg", "image_base64": "/9j/4AAQSkZJRgABAQ…", "har_base64": null, "timestamp": "2026-07-21T15:00:00.000Z" }image_base64is the image payload — decode it to a.jpgto confirm the shot. A402 CREDITS_EXHAUSTEDmeans the wallet is empty (and PAYG is off);429means rate limit, not empty credits.Optional: verify a domain
Only needed for sensitive ops (journey interact/evaluate, Basic Auth, mTLS). See Domain verify.
402 CREDITS_EXHAUSTED. Full table: Tiers & credits.