Skip to content

Delhivery serviceability ​

checkServiceability(params) calls Delhivery's pincode serviceability endpoint (/c/api/pin-codes/json/) and returns whether the destination can be served.

Parameters ​

FieldTypeRequiredNotes
filter_codesstring | numbernoPincode to check
dtstringnoDestination pincode filter
ststringnoState or origin filter
ts
const result = await sdk.checkServiceability({ filter_codes: "110001" });

console.log(result.serviceable, result.prepaid, result.cod, result.pickup);

Response ​

FieldTypeNotes
serviceablebooleanDestination is served
prepaidbooleanPrepaid shipments allowed
codbooleanCash on delivery allowed
pickupbooleanPickup available at origin
remarksstring | nullProvider note, if any
delivery_codesArray<{ postal_code: ... }>Per-pincode serviceability details
rawunknownOriginal Delhivery payload

Pincode-level details such as city, district, state_code, max_weight, and is_oda remain available on delivery_codes and raw.

For the TypeScript SDK, serviceability is a read-only check: it does not create a shipment or reserve a pickup.