{"openapi":"3.0.0","info":{"title":"Angi US Contractors and Cost Guides","version":"1.0.0","description":"Angi contractor listings, ratings, reviews and home project cost guides across US and international markets, one row per entity."},"servers":[{"url":"https://ah-angi-com.opendata.best/s/angi-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Angi US contractor listings and cost guides","description":"Query Angi service providers, ratings, reviews and local project cost guides by category, postal code or location.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"searchType":{"type":"string","enum":["search","cost-guide","nearme","detail","intl-catalog","intl-service-pro","intl-list","intl-detail","homestars","catalog","sitemap","contact","about"],"description":"Search type. Map, city hub, quote request and other Angi country-domain modes are not available.","default":"search","example":"search"},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Supported Angi or international marketplace page URLs, including profiles and company pages."},"slice":{"type":"string","description":"Built-in service or city choice. Built-in service or city choice such as us/plumbing or ca/toronto; a bare name uses the selected market. It replaces the US category or international city, but does not change searchType."},"category":{"type":"string","description":"Near-me service category. Service slug or trade name, such as hvac, roofing or plumbing. For US search, 250+ trades resolve to the right categoryId automatically when categoryId is omitted.","example":"hvac"},"categoryId":{"type":"integer","description":"US search category ID. Optional numeric category for US search. 250+ US service categories (such as hvac, roofing, plumbing, electrical, landscaping) resolve automatically from category or query when categoryId is omitted."},"postalCode":{"type":"string","description":"US postal code. US ZIP or ZIP+4; an explicit ZIP takes priority over city and region. 10001 is used only when no postalCode, zipCodes, location or city is provided."},"zipCodes":{"type":"array","items":{"type":"string"},"description":"Multiple US ZIP codes. Optional list of 5-digit US ZIP codes to search across within maxResults (e.g. ['78701', '78702'])."},"location":{"type":"string","description":"US location (City, State or ZIP). Convenience location such as 'Austin, TX' or '78701' when postalCode is empty."},"city":{"type":"string","description":"City / international city slug. US city used with optional region when postalCode is omitted or empty, or the source site city slug for intl-list. An explicit postalCode takes priority for US searches."},"region":{"type":"string","description":"US state / region. US state code or name, such as WA, used with city when postalCode is empty. A region without a city or ZIP is not accepted."},"query":{"type":"string","description":"Search query. Trade or task text. For US search it resolves the service category when category is empty; for cost-guide it is the project (e.g. roof replacement); for catalog it selects entries."},"serviceProSlug":{"type":"string","description":"ServicePro slug. Single merchant slug for searchType=intl-service-pro (e.g. 217845-new-canadian-drain-plumbing-ltd). Leave empty to enumerate the market's ServicePro directory instead of fetching one merchant."},"market":{"type":"string","enum":["us","ca","uk","de","at","fr","nl","it"],"description":"Market. Select the marketplace: Angi in the US; HomeStars in Canada; MyBuilder in the UK; MyHammer in Germany or Austria; Travaux in France; Werkspot in the Netherlands; Instapro in Italy.","default":"us","example":"us"},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"maxPages":{"type":"integer","minimum":1,"maximum":10,"description":"Max pages. No longer used. Delivered rows follow maxResults only."},"wantsPhone":{"type":"boolean","description":"Request phone disclosure. For US search, ask the gateway for its contact field block. On requests large enough to cover a full result page the gateway returns a shared call-tracking number per business (not a direct line). Off by default; only applies to US category search.","default":false,"example":false},"ssaFilter":{"type":"boolean","description":"Super Service Award filter. Limit US category search to businesses with the Super Service Award. This filter does not apply to other modes.","default":false,"example":false},"enrichDetails":{"type":"boolean","description":"Enrich details. Add available public profile fields to listing rows. Off by default; inaccessible profiles can leave the original listing unchanged.","default":false,"example":false},"mergeNearmeStreets":{"type":"boolean","description":"Merge nearme streets onto search. Off by default so US search runs on the fast JSON path. Enable to overlay published street addresses from matching near-me pages.","default":false,"example":false},"catalogKind":{"type":"string","enum":["categories","algolia-tasks","xm-categories","costguide-categories","businessHighlights","featureflags","platformConfig","category-sitemap","nearme-sitemap","pro-pool","statecat-sitemap","topic-sitemap","article-sitemap","leaf-index"],"description":"Catalog kind. For catalog, select categories, algolia-tasks, xm-categories, costguide-categories, businessHighlights, featureflags or platformConfig. For sitemap, select category-sitemap, nearme-sitemap, pro-pool, statecat-sitemap, topic-sitemap, article-sitemap or leaf-index; pro-pool returns profile URLs, not profile content."},"sitemapShard":{"type":"integer","minimum":1,"maximum":72,"description":"Sitemap shard. Provider sitemap part from 1 to 72, used with searchType=sitemap and catalogKind=pro-pool. The first part is used when omitted."},"harvestSeeds":{"type":"boolean","description":"Save discovered service and city choices. Save service slugs, cities and category IDs discovered during the request for later reuse. Off by default; this does not guarantee additional output rows.","default":false,"example":false},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"searchType":"search","category":"hvac","market":"us","enrichDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"kind":{"nullable":true,"type":"string","description":"Row category: search, nearme, detail, review, intl-list, intl-detail, intl-city, city-hub, service and servicePro (international category/service taxonomy and service-professional rows), catalog-row, category-id, nearme-slug, contact, about, sitemap-category or sitemap-pro."},"rowType":{"nullable":true,"type":"string","description":"Billing row type, same as kind on every row (set to review on separately delivered review rows, service/servicePro on the international category/service taxonomy, servicePro on international service-professional rows, sitemap-category/sitemap-pro on sitemap seeds). Every delivered row is one billing unit."},"id":{"nullable":true,"type":"string","description":"Entity identifier whose meaning depends on kind."},"name":{"nullable":true,"type":"string","description":"Published display name: a business, company, catalog entry or review author. Empty when the source does not provide a name."},"url":{"nullable":true,"type":"string","description":"Canonical entity URL, or the listed URL for catalog and sitemap rows."},"category":{"nullable":true,"type":"string","description":"Service slug on US search and near-me rows, such as plumbing or hvac."},"categoryId":{"nullable":true,"type":"integer","description":"Numeric US search category, such as 107 for plumbing."},"postalCodeQuery":{"nullable":true,"type":"string","description":"Requested ZIP used for US search."},"market":{"nullable":true,"type":"string","description":"International marketplace code: ca, uk, de, at, fr, nl or it."},"city":{"nullable":true,"type":"string","description":"Source city slug on international list rows, or the city segment of a provider sitemap URL."},"country":{"nullable":true,"type":"string","description":"Country code when supplied by the source or supported profile URL. Review rows can inherit the parent country."},"state":{"nullable":true,"type":"string","description":"US state segment from a provider sitemap URL."},"slug":{"nullable":true,"type":"string","description":"Category or provider URL slug, depending on the row kind."},"permalinkId":{"nullable":true,"type":"string","description":"Profile number extracted from a provider sitemap URL. It is distinct from serviceProviderId."},"enumerated":{"nullable":true,"type":"boolean","description":"True for sitemap URL-index rows. The listed profile content has not been collected."},"serviceProviderId":{"nullable":true,"type":"string","description":"US search provider identifier. It is not the same as reviewsId."},"reviewsId":{"nullable":true,"type":"string","description":"Numeric reviews-ID part of a US profile URL."},"rating":{"nullable":true,"type":"number","description":"Rating on the source scale, or an individual rating on review rows. International profile ratings without a confirmed scale can be empty; see ratingRaw and ratingScale."},"ratingRaw":{"nullable":true,"type":"number","description":"Original numeric rating from an international profile, retained even when the scale cannot be confirmed."},"ratingScale":{"nullable":true,"type":"object","description":"Source rating bounds on international rows, with bestRating and worstRating when known.","properties":{"bestRating":{"type":"number"},"worstRating":{"nullable":true,"type":"number"}},"additionalProperties":false},"ratingLabel":{"nullable":true,"type":"string","description":"Individual review rating as displayed on the source."},"reviewCount":{"nullable":true,"type":"integer"},"reviewSource":{"nullable":true,"type":"string","description":"Source marker identifying the review data on a US detail row."},"reviewerName":{"nullable":true,"type":"string","description":"Published review author name, when present."},"dateLabel":{"nullable":true,"type":"string","description":"Review date as displayed on the source."},"text":{"nullable":true,"type":"string","description":"Published review text."},"verified":{"nullable":true,"type":"boolean","description":"Whether the source marks the review as verified."},"projectCost":{"nullable":true,"description":"Project cost reported in the review, including any formatted currency text."},"parentId":{"nullable":true,"type":"string"},"parentUrl":{"nullable":true,"type":"string"},"people":{"nullable":true,"type":"array","description":"Publicly named owners or other people on US detail pages. Each entry contains name and role.","items":{"type":"object"}},"publicProfilePresent":{"nullable":true,"type":"boolean","description":"Whether the international page contains a public profile. False can mean the profile details are restricted."},"ssa":{"nullable":true,"type":"boolean","description":"Super Service Award flag on US search rows."},"leadSemanticsGated":{"nullable":true,"type":"boolean","description":"True when a US search row has restricted contact information."},"mergedNearmeStreet":{"nullable":true,"type":"boolean","description":"True when a matching near-me street address was added to a US search row."},"phones":{"type":"array","description":"Public phone entries containing value, type and e164.","items":{"type":"object"}},"emails":{"type":"array","description":"Published email entries when available. Usually empty; general platform addresses are excluded.","items":{"type":"object"}},"address":{"type":"object","description":"Published street, locality, region, postalCode, country and full address. US search cards may lack a street unless a matching near-me listing supplies it; requested locations are not substituted for source addresses.","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"geo":{"nullable":true,"type":"object","description":"Latitude and longitude container. Coordinates are not currently extracted, so lat and lng remain empty.","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}}},"person":{"type":"object","description":"Public contact person with name and role, when available. Additional names on US detail pages can appear in people.","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"type":"object","description":"Business or company identity with name and id when available."},"web":{"nullable":true,"type":"object","description":"Published business website and social links when available."},"leadSource":{"nullable":true,"type":"string","description":"Source category for contact information: search, detail or contact. Not set on catalog or sitemap rows."},"leadReveal":{"nullable":true,"type":"string","description":"Contact-field availability: visible, gated or absent. Gated means the source restricts access to those fields."},"leadAbsences":{"type":"object","description":"Reasons why contact or gateway card fields are missing. Each value is an English code with a note, such as gated (no Show phone button; Request quote is a submit, not a reveal), or Not on source: <evidence> for a key the source sends empty."},"addressCheck":{"nullable":true,"type":"object","description":"Reference comparison of a published address, with status and suggested matches when available. It never overwrites the source address."},"scrapedAt":{"nullable":true,"type":"string","description":"ISO timestamp when the row was collected."},"sourceUrl":{"nullable":true,"type":"string","description":"Page URL associated with collection of the row. It may differ from the canonical entity url."},"type":{"nullable":true,"type":"string","description":"Source type identifier on businessHighlights catalog rows."},"iconUrl":{"nullable":true,"type":"string","description":"Icon URL on businessHighlights catalog rows."},"raw":{"nullable":true,"type":"object","description":"Original category or business-highlight entry."},"data":{"nullable":true,"type":"object","description":"Original feature-flag or platform-settings entry."},"seed":{"nullable":true,"type":"object","description":"Suggested input for collecting a catalog or sitemap entry in a later run. Its verified flag reflects prior validation, not a guarantee that the page is currently accessible."},"servicesOffered":{"nullable":true,"type":"array","items":{}},"amenities":{"nullable":true,"type":"array","items":{}},"localCost":{"nullable":true,"type":"object","description":"Project cost range for the requested ZIP on cost-guide rows."},"regionCost":{"nullable":true,"type":"object","description":"Project cost range for the surrounding region on cost-guide rows."},"nationalCost":{"nullable":true,"type":"object","description":"National project cost range on cost-guide rows."}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=about: id, name, url; rowType=algolia-task: id, name, url; rowType=categories: id, name; rowType=contact: id, name, url; rowType=cost-guide: id, name, url; rowType=detail: id, name, url; rowType=intl-detail: id, name, url; rowType=intl-list: id, name, url; rowType=nearme: id, name, url; rowType=review: id, parentId, parentUrl, text|reviewerName; rowType=search: id, name, url; rowType=service: id, name; rowType=servicePro: id, name; rowType=sitemap-article: id, url; rowType=sitemap-category: id, url; rowType=sitemap-leaf-index: id, url; rowType=sitemap-pro: id, url; rowType=sitemap-statecat: id, url; rowType=sitemap-topic: id, url; rowType=xm-categories: id, name, url."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}