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
string
required
Category text, between 2 and 100 characters. Example:
plumber.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"
}
]
}
string
Stable normalized category key.
string
Human-readable Google category. Use this as
input.query when you want to match the UI’s suggested category.emergency commercial plumber.