search_gtm_api_plans

Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website: datacircle.dev

This smolagents tool gives the plans of every API or of one, by provider or plan name, sorted by score, provider or price. The tool calls GET /plans on Datacircle's open API, https://api.datacircle.dev/v1. You need no key and no account.

Use it

from smolagents import load_tool

search_gtm_api_plans = load_tool("waynehamadi2/datacircle-search-gtm-api-plans", trust_remote_code=True)
print(search_gtm_api_plans(query="bright data", sort="price", limit=5))

The tool answers with a dict. An agent's code reads the answer by key.

Inputs

InputTypeMeaning
apistring, optionalOnly this API's plans: its name or slug as list_gtm_apis gives them, like 'email-finder'. A provider's name goes in query, never here. Every API when left out.
querystring, optionalWords that must all appear in the provider's or plan's name, like 'bright data'.
sortstring, optionalscore (best first, the default), provider (A to Z) or price ($ per 1,000, lowest first).
limitinteger, optionalHow many plans to give, 1 to 50. 10 when left out.
offsetinteger, optionalHow many found plans to skip first. 0 when left out.

The four Datacircle tools

Load the four tools at once from the collection Datacircle tools, then give them to an agent:

from smolagents import CodeAgent, InferenceClientModel, ToolCollection

tools = ToolCollection.from_hub("waynehamadi2/datacircle-tools-6af6bdc91ceddc280ce84b9c", trust_remote_code=True)
agent = CodeAgent(tools=[*tools.tools], model=InferenceClientModel())
agent.run("Which email finder API plan is best, and what do 1,000 emails cost?")
ToolCallAnswer
list_gtm_apisGET /apisevery GTM API on Datacircle, each with its slug, how many plans and providers it has, its best plan and its best page
best_gtm_api_plansGET /apis/{slug}/bestan API's plans best first by score, each with its rank, provider, plan, $ per 1,000 and its page on datacircle.dev
search_gtm_api_plansGET /plansthe plans of every API or of one, by provider or plan name, sorted by score, provider or price
gtm_api_providerGET /providers/{slug}each API a provider sells, its rank on each, how many plans it has there and its best plan

Each plan has a price, a score and a provider. Each plan also links to the plan's page on datacircle.dev, with every field. The tools use only Python's standard library. The API takes at most 60 calls a minute from one address.

Links