curl "https://www.mapsdata.io/api/v1/categories?q=plumber" \
-H "x-api-key: md_live_your_key"
{
"categories": [
{
"category_key": "plumber",
"display_name": "Plumber"
}
]
}
Endpoints
Look up categories
Find normalized Google business categories for a search query.
GET
/
categories
curl "https://www.mapsdata.io/api/v1/categories?q=plumber" \
-H "x-api-key: md_live_your_key"
{
"categories": [
{
"category_key": "plumber",
"display_name": "Plumber"
}
]
}
Search the category catalog before creating a job. The endpoint returns up to eight matches and consumes no lead credits.
Free-form queries remain valid. Use them when the desired niche is more specific than a catalog category, such as
curl "https://www.mapsdata.io/api/v1/categories?q=plumber" \
-H "x-api-key: md_live_your_key"
{
"categories": [
{
"category_key": "plumber",
"display_name": "Plumber"
}
]
}
Human-readable Google category. Use this as
input.query when you want to match the UI’s suggested category.emergency commercial plumber.