API Endpoints
Explore our comprehensive API endpoints to power your digital services
Read
Use the following endpoints to retrieve resources.
Endpoint
GET /api/v1/providers?q=&limit=2&cursor=Hxg-EKqX6aecfRsU_rKuS
Request Parameters
- q - Search query.
- cursor - Cursor for pagination (optional).
- limit - Number of items per page.
Request Headers
- x-api-key - Your API key.
Response Payload
{"data": [{"id": "Hxg-EKqX6aecfRsU_rKuS","name": "Somnet","image": "https://toptayo.com/media/toptayo/somnet.webp","description": "Somnet Telecom"},{"id": "4WJcL7D90rPd-U-dN1LNb","name": "Somtel","image": "https://toptayo.com/media/toptayo/somtel.webp","description": "Telecommunications company headquartered in Hargeisa, Somaliland."}],"nextCursor": "kAxmgONhza8dXDXGUixjt"}
Status Codes
- 200 OK - The request was successful.
- 401 Unauthorized - The request was not authorized.
- 404 Not Found- The requested resource was not found.