Developers
One endpoint: look up licensed plumbing providers by city or zip code.
Returns plumbers matching a city and/or zip code. At least one of city or zip is required. If both are given, results must match both.
| Name | Type | Required | Description |
|---|---|---|---|
city | string | One of city/zip required | Case-insensitive exact match, e.g. Austin |
zip | string | One of city/zip required | Exact match, e.g. 78701 |
curl "https://plumber.odellblackmoniii.com/api/plumbers/get?zip=78704"
{
"count": 1,
"results": [
{
"id": "aus-002",
"name": "Hill Country Pipeworks",
"phone": "512-555-0142",
"email": "service@hillcountrypipeworks.example.com",
"city": "Austin",
"state": "TX",
"zip": "78704",
"license_number": "TX-M-40255",
"service_categories": ["same_day", "scheduled"]
}
]
}
{ "error": "Provide at least one of \"city\" or \"zip\" as a query parameter." }
Machine-readable spec: /openapi.yaml