llama-index-tools-scrapingrabbit
LlamaIndex tool spec for the ScrapingRabbit web data API: YouTube transcripts and comments, TikTok, Instagram, X, Amazon, Google and SEO data for agents.
- Every API endpoint as a LlamaIndex
FunctionTool, with typed, described arguments. - API refusals come back to the agent as text it can act on.
- You pay credits only when a call returns data. Failed calls are free.
- New accounts get 100 free credits and a first key, no card needed: scrapingrabbit.com/login.
Install
pip install llama-index-tools-scrapingrabbit
export SCRAPINGRABBIT_API_KEY=sr_live_...
Use
The agent example also needs a model package: pip install llama-index-llms-anthropic and export ANTHROPIC_API_KEY=....
import asyncio
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic
from llama_index.tools.scrapingrabbit import ScrapingRabbitToolSpec
tools = ScrapingRabbitToolSpec(include=["youtube_transcript", "domain_age_checker"]).to_tool_list()
agent = FunctionAgent(tools=tools, llm=Anthropic(model="claude-sonnet-5-5"))
print(asyncio.run(agent.run("How old is the domain example.com?")))
Leave out include to get every endpoint. Names come from scrapingrabbit.ENDPOINTS:
from scrapingrabbit import ENDPOINTS
print([e["name"] for e in ENDPOINTS])
Each tool returns the answer's data as JSON text, cut at 60,000 characters (change with max_chars=).
Also available
LangChain tools · CrewAI tools · Python client · Node.js client · MCP server
Develop
pip install -e .
python -m unittest discover -s tests # runs the tools against a local fake API
License
MIT
Metadata
Release files for llama-index-tools-scrapingrabbit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_tools_scrapingrabbit-0.1.0.tar.gz | 6.1 kB | With provenance | Details for llama_index_tools_scrapingrabbit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_scrapingrabbit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_scrapingrabbit-0.1.0-py3-none-any.whl |
Total release size: 11.2 kB
Release files / llama_index_tools_scrapingrabbit-0.1.0.tar.gz
| Download URL | llama_index_tools_scrapingrabbit-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29328d3588d3cd84e4b7aba7dfe868f9031756fb5c59454229109c3fdb7eeb1f
|
|
BLAKE2b-256 checksum How to use checksums |
ca65911c602fcf009a3c37c135b9ce3c40ed0bec230e0b82be1a9d2168d0ee10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / llama_index_tools_scrapingrabbit-0.1.0-py3-none-any.whl
| Download URL | llama_index_tools_scrapingrabbit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ebafc9f7ad04195d2d57989f22b0c60813904639ccb36b6e0ec9009c278d68a
|
|
BLAKE2b-256 checksum How to use checksums |
de73ce215d56670c4426972a800ed045e4d0883e5cffe76eac77a33ad6b0e9fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for llama-index-tools-scrapingrabbit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llama_index_tools_scrapingrabbit-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.