{"openapi":"3.0.3","info":{"title":"Justdial API (ReefAPI)","version":"0.1.1","description":"Justdial API — India's local business directory (justdial.com): search businesses by category or name in any Indian city and locality (Mumbai, Delhi, Bangalore, Hyderabad, Chennai, Pune, Kolkata…), full business pages with phone number, WhatsApp, e-mail, website, address, coordinates, hours, rating and categories, the 'Show Number' number, reviews, photos, questions & answers, related businesses and search suggestions — no login Call POST /justdial/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/justdial-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"Justdial API documentation","url":"https://reefapi.com/docs/justdial"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"justdial","description":"Justdial API — India's local business directory (justdial.com): search businesses by category or name in any Indian city and locality (Mumbai, Delhi, Bangalore, Hyderabad, Chennai, Pune, Kolkata…), full business pages with phone number, WhatsApp, e-mail, website, address, coordinates, hours, rating and categories, the 'Show Number' number, reviews, photos, questions & answers, related businesses and search suggestions — no login"}],"paths":{"/justdial/v1/search":{"post":{"operationId":"justdial_search","summary":"Search Justdial businesses: a category (Dentists, Restaurants, Plumbers…), a business name or free text in an Indian city, optionally inside a locality","description":"Search Justdial businesses: a category (Dentists, Restaurants, Plumbers…), a business name or free text in an Indian city, optionally inside a locality. Returns Justdial's first page — 10 businesses in Justdial's own order (the site reshuffles it between visits); deeper pages, sorts and filters are not offered. Each row carries the printed phone number, address, pincode, coordinates, rating, rating count, categories and badges.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"Dentists","description":"What to search: a category as Justdial names it (Dentists, Restaurants, Plumbers, Chartered Accountants, Packers And Movers…), a business name or free text (bademiya), a category id (nct-10156331) or a justdial.com category link (which also carries the city and locality). Justdial resolves free text to its closest category itself; `matched_category` shows what it chose."},"city":{"type":"string","example":"Mumbai","description":"Indian city as Justdial names it (Mumbai, Delhi, New Delhi, Bangalore or Bengaluru, Hyderabad, Chennai, Pune, Kolkata, Ahmedabad, Gurgaon or Gurugram, Noida, Thane…). Required unless `query` is a justdial.com category link. An unknown city is refused (the site itself falls back to Mumbai)."},"area":{"type":"string","example":"Andheri West","description":"Locality inside the city as Justdial spells it (Andheri West, Koramangala, Connaught Place). Results are then the site's '<category> in <area>' list; an area the site does not recognise is refused."},"page":{"type":"integer","minimum":1,"default":1,"description":"Only 1: Justdial shows the first 10 results of a search; deeper pages are not offered (any other value is INVALID_PARAM)."}},"required":["query"]},"example":{"query":"Dentists","city":"Mumbai"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/business":{"post":{"operationId":"justdial_business","summary":"Full Justdial business page: name, categories (primary + every 'also listed in' category), rating and rating count, verified / trusted / claimed flags, the phone number the page prints, WhatsApp numbe","description":"Full Justdial business page: name, categories (primary + every 'also listed in' category), rating and rating count, verified / trusted / claimed flags, the phone number the page prints, WhatsApp numbers, e-mail, website, contact person, full address with building, street, landmark, locality, pincode and coordinates, opening hours per day with holiday notes, year established, payment modes, cuisines, attributes (specialisation, registration…), services, highlights, quick info, enquiry response figures, offers, photos, logo, video, the latest reviews printed on the page and the ids of the business's other branches.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/phone":{"post":{"operationId":"justdial_phone","summary":"The phone number(s) Justdial shows for a business: the number the page prints, and for a listing that prints none, the number(s) the site reveals behind its 'Show Number' button (mobile, landline or t","description":"The phone number(s) Justdial shows for a business: the number the page prints, and for a listing that prints none, the number(s) the site reveals behind its 'Show Number' button (mobile, landline or toll-free), plus WhatsApp numbers.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/reviews":{"post":{"operationId":"justdial_reviews","summary":"Written reviews of a Justdial business, 10 per page, in the site's three orders (relevant, latest, rating high to low): rating, date, text, author with review / rating counts, positive and negative ta","description":"Written reviews of a Justdial business, 10 per page, in the site's three orders (relevant, latest, rating high to low): rating, date, text, author with review / rating counts, positive and negative tags, photos, likes, owner reply. `total` is the site's own count for the order (it can differ from the listed reviews either way); `has_next` is true while pages come back full, and a page past the last listed one is NOT_FOUND.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."},"sort":{"type":"string","enum":["relevant","latest","high_to_low"],"default":"relevant","pattern":"(?i)relevan(t|ce)|default|latest|newest|recent|date|high[_ -]?to[_ -]?low|highest|rating|highest[_ ]rated","description":"relevant (default, the page's order), latest or high_to_low."},"page":{"type":"integer","minimum":1,"maximum":1000,"default":1,"description":"1-based, 10 reviews per page; past the last page = NOT_FOUND."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/photos":{"post":{"operationId":"justdial_photos","summary":"The business's full photo gallery as the site's photo tab shows it: every photo with caption, source (business or user), date and size, the gallery tabs with their counts (All, Exterior, Interior, By ","description":"The business's full photo gallery as the site's photo tab shows it: every photo with caption, source (business or user), date and size, the gallery tabs with their counts (All, Exterior, Interior, By Owner, By User, Menu…) and videos.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."},"tab":{"type":"string","default":"All","example":"Interior","description":"One gallery tab by its name as `tabs[].name` lists it (All, Exterior, Interior, 360 View, By Owner, By User, Menu…)."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/questions":{"post":{"operationId":"justdial_questions","summary":"Questions and answers on a Justdial business page, 10 per page, with the site's total.","description":"Questions and answers on a Justdial business page, 10 per page, with the site's total.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."},"page":{"type":"integer","minimum":1,"maximum":500,"default":1,"description":"1-based, 10 per page."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/related":{"post":{"operationId":"justdial_related","summary":"The sections a Justdial business page carries besides its own data: business lists (the doctors of a clinic, the outlets of a chain, similar businesses) with name, address or speciality, rating, phone","description":"The sections a Justdial business page carries besides its own data: business lists (the doctors of a clinic, the outlets of a chain, similar businesses) with name, address or speciality, rating, phone and link; 'Our Happy Customers' review snippets; 'People also searched for' categories; menu photos; plus the page's 'people also search' categories and the ids of the business's other branches. Which sections exist depends on the business (measured: 3 of 6 businesses carried at least one).","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/price-list":{"post":{"operationId":"justdial_price_list","summary":"The business's price list or menu as its Justdial page shows it (restaurants' menus, services with prices for clinics, movers, salons…): categories with the site's item count and the items the site li","description":"The business's price list or menu as its Justdial page shows it (restaurants' menus, services with prices for clinics, movers, salons…): categories with the site's item count and the items the site lists for each (name, description, printed price and the rupee amount, discount price, quantity unit, tags such as Veg, image). Justdial lists up to 6 items per category in this view; `count` is the category's full size.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"business":{"type":"string","example":"022PXX22.XX22.121105114921.T3J6","description":"A Justdial business id (`business_id` from search, e.g. 022PXX22.XX22.121105114921.T3J6 or 022P811601), any justdial.com business link (…_BZDET) or a DT-… short link (justdial.com/DT-43F5QFHG, jsdl.in/DT-…)."}},"required":["business"]},"example":{"business":"022PXX22.XX22.121105114921.T3J6"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}},"/justdial/v1/autocomplete":{"post":{"operationId":"justdial_autocomplete","summary":"Justdial's own search-box suggestions for what has been typed in a city: categories (with the category id and the number of listings) and businesses (with business id, locality, rating and rating coun","description":"Justdial's own search-box suggestions for what has been typed in a city: categories (with the category id and the number of listings) and businesses (with business id, locality, rating and rating count), plus dishes.","tags":["justdial"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"dent","description":"What has been typed so far (2+ characters)."},"city":{"type":"string","example":"Mumbai","description":"Indian city the suggestions are for."}},"required":["query","city"]},"example":{"query":"dent","city":"Mumbai"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}