Python SDK for AgentWeb.live — the global business directory for AI agents.
Search 11M+ businesses across 195 countries via a simple API.
pip install agentwebfrom agentweb import AgentWebClient
client = AgentWebClient(api_key="your-api-key")
# Search for businesses
results = client.search("coffee shop", country="US", limit=5)
print(results)
# Geo search
results = client.search("restaurant", lat=40.7128, lng=-74.0060, radius_km=2)
# Get a single business
biz = client.get_business("some-business-id")
# Health check
status = client.health()Create a client. Get your API key at agentweb.live.
Search for businesses. All parameters except q are optional.
Fetch a single business by its AgentWeb ID.
Check API health and stats.
MIT