Skip to main content

Scavio real-time search tools (Google, YouTube, Amazon, Walmart, Reddit, TikTok, Instagram) for the OpenAI Agents SDK

Project description

openai-agents-scavio

Scavio real-time search tools for the OpenAI Agents SDK — Google, YouTube, Amazon, Walmart, Reddit, TikTok, and Instagram, with one API key. Scavio also covers TikTok Shop, X and LinkedIn; reach those through the hosted MCP server.

Amazon changed (breaking). The upstream provider moved in 2026-07: domain is replaced by country, a two-letter marketplace code (us, gb -- the UK is gb, not uk -- de, jp, ...), and sort_by, pages, category_id, merchant_id, language, currency, device, zip_code and autoselect_variant are gone. The marketplace ignores all of them (sort_by returns the identical unordered set for every value), so they are removed rather than kept as silent no-ops. Rank and filter results yourself. A third Amazon tool arrived with the move: scavio_amazon_offers lists every seller offering an ASIN -- price, condition, shipping, and which offer holds the buy box. 1 credit, same as the other two.

Install

pip install openai-agents-scavio

Setup

Get a Scavio API key from the Scavio Dashboard (new accounts get 50 free credits, no credit card). Set SCAVIO_API_KEY or pass api_key= to the factory.

Usage

from agents import Agent, Runner
from openai_agents_scavio import get_scavio_tools

agent = Agent(
    name="Search Assistant",
    instructions="Search the web, shopping sites, and social platforms with Scavio.",
    tools=get_scavio_tools(),  # reads SCAVIO_API_KEY
)

result = Runner.run_sync(agent, "Find the top budget laptops on Amazon")
print(result.final_output)

Expose only the providers you need:

tools = get_scavio_tools(
    enable_google=True,
    enable_reddit=True,
    enable_amazon=False,
    enable_walmart=False,
    enable_youtube=False,
    enable_tiktok=False,
    enable_instagram=False,
)

Pass all=True to register every tool regardless of the individual flags.

Tools

get_scavio_tools() returns one function tool per Scavio endpoint, named scavio_<provider>_<action> (e.g. scavio_google_search, scavio_amazon_product, scavio_reddit_post). Each returns the structured Scavio JSON response; errors come back as {"error": "..."} rather than raising, so a failed call never crashes the run.

Use every endpoint via MCP

The tools above cover seven platforms. For the full Scavio API — every endpoint across Google, YouTube, Amazon, Walmart, Reddit, TikTok, TikTok Shop, Instagram, X and LinkedIn, with no install — point the Agents SDK at the hosted MCP server:

from agents import Agent
from agents.mcp.server import MCPServerStreamableHttp

server = MCPServerStreamableHttp(
    name="scavio",
    params={"url": "https://mcp.scavio.dev/mcp", "headers": {"x-api-key": "sk_live_..."}},
)
agent = Agent(name="Search Assistant", mcp_servers=[server])

Credits

Most calls cost 1 credit, Google and Reddit included. The exceptions:

Tool Credits
scavio_youtube_search, scavio_youtube_shorts 2
scavio_youtube_streams 3
scavio_youtube_transcript 8
scavio_instagram_user_posts 2
scavio_instagram_post, scavio_instagram_comment_replies 8
every other scavio_instagram_* 10

See scavio.dev/docs.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openai_agents_scavio-0.2.0.tar.gz (104.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openai_agents_scavio-0.2.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file openai_agents_scavio-0.2.0.tar.gz.

File metadata

  • Download URL: openai_agents_scavio-0.2.0.tar.gz
  • Upload date:
  • Size: 104.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for openai_agents_scavio-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4040b49132408c2c12f047b73400cc68f64075a150a50e0fb461aa3cd34bd426
MD5 480cf1600f91b631fd1fa4070d5c97b8
BLAKE2b-256 0462d9c8d83be24cdd08b8dfb43a913f18a729e6526a705b7b4202c5443c49db

See more details on using hashes here.

File details

Details for the file openai_agents_scavio-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_agents_scavio-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e68e31e08649ac8ba686750ca4b00315e40c2b86c02bf25783f8d5f8ed03ada1
MD5 495b9773c68a508c012a552628ec65d6
BLAKE2b-256 fe9a300b4a4fa70028182f632e14efe302cb0d17d3f36513c3fe1c145a6a2f54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page