Build custom integrations, connect external chatbots, programmatically manage tool orders, check stock levels, and receive real-time webhooks.
All API endpoints are served over HTTPS and return JSON responses. Errors use standard HTTP status codes (400, 401, 403, 404, 429, 500) with a structured error field.
Generate your API keys in your Developer Dashboard. Every request must include an API Key in an HTTP Header:
pk_live_...)Read-only scope. Use this key for querying tools catalog, stock availability, and prices.
sk_live_...)Full control scope. Required to purchase tools using your wallet balance and manage orders.
Query live products, prices in NGN and USD, stock availability, and categories.
Query Parameters:
query (optional string): Search keyword e.g. capcutcategory (optional string): Category slug e.g. video-creationExample Request (cURL):
Example Response (200 OK):
Purchase an AI tool programmatically. Automatically deducts the price from your wallet balance, triggers instant vendor fulfillment, and returns activation details.
Request Body (JSON):
Example Response (200 OK):
When you save a Webhook URL in your dashboard, OneSol AI sends an instant HTTP POST event whenever an order delivery is completed.
Webhook Payload:
Signature Header:
If you are building an AI chatbot on AutomateSocial (`hglobal.store`), configure your tools in AI Studio as follows:
GET | URL: https://onesolai.com/api/agent/tools/POST | URL: https://onesolai.com/api/agent/buy-tool/ | Header: X-Agent-Secret: onesol_agent_secret_2026
Join thousands of smart users saving money while enjoying the best AI tools in the world.