Developer Documentation

Markets API Documentation

Use Markets API to access structured Nigerian market data including names, categories, addresses, LGAs and searchable endpoints.

Base URL

https://viczimu.com.ng/marketsapi/api/

Authentication

All requests require your API key.

?key=YOUR_API_KEY

Main Endpoint

GET Markets
/markets.php?key=YOUR_API_KEY
Returns all available markets in your plan access level.

Available Filters

Parameter Description
category Filter by market category
lga Filter by local government area
search Search by market name

Request Examples

/markets.php?key=YOUR_API_KEY&category=Food Market
/markets.php?key=YOUR_API_KEY&lga=Ikeja
/markets.php?key=YOUR_API_KEY&search=Balogun

Sample JSON Response

{ "status": true, "count": 1, "markets": [ { "id": 1, "market_name": "Balogun Market", "category": "Clothing Market", "address": "Lagos Island, Lagos", "lga": "Lagos Island", "state": "Lagos" } ] }

Error Responses

{ "status": false, "message": "API key required" }
{ "status": false, "message": "Invalid API key" }
{ "status": false, "message": "Daily limit reached" }

Need API Access?

Start free instantly or upgrade for higher limits and commercial use.

Get Free API Key View Pricing