ScavioScavio
ToolsPricing
Sign InsGet Startedg
Quick StartAPI & SDKsEcosystem

JavaScript SDK Reference

Construct a client with new Scavio(config). Every platform is a namespace on the client, and each method returns the parsed JSON response.

Client

JavaScript
import { Scavio } from "scavio";

const client = new Scavio({
  apiKey: "sk_live_your_key", // or SCAVIO_API_KEY env var
  timeout: 30000,
  maxRetries: 2,
});
OptionTypeDefaultDescription
apiKeystringSCAVIO_API_KEYYour API key. Falls back to the environment variable.
baseUrlstringhttps://api.scavio.devAPI base URL.
timeoutnumber30000Per-request timeout in milliseconds.
maxRetriesnumber2Automatic retries for 429/5xx and network errors.

Namespaces

Methods take a single options object and return Promise<Record<string, unknown>>.

NamespaceExample methods
client.googlesearch, aiMode, mapsSearch, mapsPlace, mapsReviews, shopping, flights, hotels, news, trends
client.youtubesearch, metadata
client.amazonsearch, product, offers
client.walmartsearch, product
client.redditsearch, post
client.tiktoksearchVideos, profile, video, hashtag
client.instagramprofile, userPosts, userReels, searchUsers

Errors

Failed requests reject with a ScavioError. See Errors for status codes and the error body shape.

PreviousQuickstart
ScavioScavio

One scraper API for every social, search and ecommerce platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy