{"name":"DoctorOnCall Clinics API","description":"Clinics on DoctorOnCall, as its pages list them.","api_id":"generated_8fd87cacf8e7f697ba1fd525","slug":"doctoroncall-clinics-api","source":{"name":"Doctoroncall","domain":"doctoroncall.com.my","url":"https://www.doctoroncall.com.my/"},"category":null,"countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-03","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-12-02T23:39:07.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_8fd87cacf8e7f697ba1fd525_search","name":"List DoctorOnCall Clinics","description":"Return records within the accepted scope.","definition_version":"852064094cea8f9a48c63fa9833118ee99a7c3199336730a42d9496053571e99","method":"POST","path":"/v1/catalog/public/apis/generated_8fd87cacf8e7f697ba1fd525/endpoints/generated_8fd87cacf8e7f697ba1fd525_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_8fd87cacf8e7f697ba1fd525/endpoints/generated_8fd87cacf8e7f697ba1fd525_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."},"category":{"x-enum-labels":["Specialist Hospitals","Kuala Lumpur - Kuala Lumpur"],"x-value-status":["verified","observed"],"x-input-proof":{"evidence":"declared","key":2,"kind":"link","read":"listing","rule":"request_structure_v1","value":"hospitals","where":"path"},"x-source-key":"category","type":"string","pattern":"^[A-Za-z0-9][A-Za-z\\-_0-9]{0,127}$","minLength":1,"maxLength":128,"examples":["hospitals","doctors"],"x-open-values":true,"description":"Optional. The name of a page of the same kind as the pages the pasted one links (any name that fits the pattern; the examples are the names it links). The site decides: a name it does not serve is refused as input_value_unverified. Omit for the pasted page (its own name asks for it too).","not":{"type":"string","pattern":"\\n"},"x-source-route":"path_segment","x-input-type":{"kind":"string"}},"location":{"x-enum-labels":["kuala-lumpur","petaling-jaya"],"x-value-status":["observed","verified"],"x-source-key":"location","type":"string","pattern":"^[A-Za-z0-9][A-Za-z\\-_0-9]{0,127}$","minLength":1,"maxLength":128,"examples":["kuala-lumpur","petaling-jaya"],"x-open-values":true,"description":"Required. The name of a page of the same kind as the pages the pasted one links (any name that fits the pattern; the examples are the names it links). The site decides: a name it does not serve is refused as input_value_unverified.","not":{"type":"string","pattern":"\\n"},"x-source-route":"path_segment","x-input-type":{"kind":"string"}},"from_url":{"type":"string","format":"uri","description":"Optional. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as `decoded`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.","x-from-url":{"origin":"https://www.doctoroncall.com.my"}}},"required":["location"],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":true,"properties":{"link_black":{"type":["string"]},"location":{"type":"object","properties":{"details":{"type":["string"]},"region":{"type":"string"}},"additionalProperties":true},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"breadcrumb":{"type":"object","properties":{"category":{"type":"string"},"path":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"images":{"type":"object","properties":{"image":{"type":"string"},"detail_url":{"type":"string","description":"entity"}},"additionalProperties":false},"rating":{"type":"object","properties":{"value":{"type":"string"},"count":{"type":"string"},"typed_value":{"type":"number","minimum":0,"description":"Reviewed numeric reading of rating; source value is preserved.","maximum":5},"typed_count":{"type":"integer","minimum":0,"description":"Reviewed numeric reading of rating_count; source value is preserved."}},"additionalProperties":false},"get_support_in_messenger_url":{"type":"string","description":"get support in messenger url"},"specialty":{"type":"string"},"member":{"type":"object","properties":{"address":{"type":"string"},"medical_specialty":{"type":"string"}},"additionalProperties":true}},"required":["title","url"]},"output_schema_note":"Some fields the source returns are not published here (identifiers, personal details and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-12-02T23:39:07.122Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"breadcrumb":{"category":"Clinic","path":["Find Doctor","Kuala Lumpur","Clinic"]},"images":{"detail_url":"https://www.doctoroncall.com.my/find-doctor/images/doctoroncall-og-image.png","image":"https://firebasestorage.googleapis.com/v0/b/booking-dev-97f3e.appspot.com/o/est_logo%2Fklinik-vitality-logo-1660893123278?alt=media&token=d782b747-28e5-411b-84bb-cdc443d8cb02"},"location":{"details":"Kuala Lumpur, Kuala Lumpur","region":"Kuala Lumpur"},"member":{"address":"No 17-G, Plaza, Jalan Maju Ria 2, Wangsa Maju, 53300 Kuala Lumpur, Wilayah Persekutuan Kuala Lumpur"},"rating":{"value":"4.8","count":"11","typed_value":4.8,"typed_count":11},"get_support_in_messenger_url":"https://m.me/doctoroncallMY?ref=BookAppointment","link_black":"Get Directions","specialty":"GP Clinic","title":"Klinik Vitality","url":"https://www.doctoroncall.com.my/find-doctor/kuala-lumpur/clinic/klinik-vitality"},{"breadcrumb":{"category":"Clinic","path":["Find Doctor","Kuala Lumpur","Clinic"]},"images":{"detail_url":"https://www.doctoroncall.com.my/find-doctor/images/doctoroncall-og-image.png","image":"https://firebasestorage.googleapis.com/v0/b/booking-dev-97f3e.appspot.com/o/est_logo%2Fmedic-clinic-logo-1646091844247?alt=media&token=0cefd286-e545-475e-ae3b-3e12c095e623"},"location":{"details":"Kuala Lumpur, Kuala Lumpur","region":"Kuala Lumpur"},"member":{"address":"Unit 1-8, Level 1, Plaza Menjalara, No 1, Jalan Menjalara Idaman, Kepong, Bandar Menjalara, 52200 Kuala Lumpur, Federal Territory of Kuala Lumpur"},"rating":{"value":"4.8","count":"11","typed_value":4.8,"typed_count":11},"get_support_in_messenger_url":"https://m.me/doctoroncallMY?ref=BookAppointment","link_black":"Get Directions","specialty":"GP Clinic","title":"Medic Clinic","url":"https://www.doctoroncall.com.my/find-doctor/kuala-lumpur/clinic/medic-clinic"}]}],"request_example":{"body":{"input":{"location":"kuala-lumpur"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_8fd87cacf8e7f697ba1fd525/endpoints/generated_8fd87cacf8e7f697ba1fd525_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"location\": \"kuala-lumpur\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_8fd87cacf8e7f697ba1fd525/endpoints/generated_8fd87cacf8e7f697ba1fd525_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/doctoroncall-clinics-api/","markdown":"https://cleanedweb.com/catalog/doctoroncall-clinics-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_8fd87cacf8e7f697ba1fd525/endpoints/generated_8fd87cacf8e7f697ba1fd525_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/doctoroncall-clinics-api/","markdown":"https://cleanedweb.com/catalog/doctoroncall-clinics-api/index.md","contract":"https://cleanedweb.com/catalog/doctoroncall-clinics-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
