ScavioScavio
ProductPricingDocs
Sign InGet Started
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
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

Real-time search API for AI agents. Search every platform, not just Google.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

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

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative

Tools

  • JSON Formatter
  • cURL to Code
  • Token Counter
  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy