Royal Mail Price API

This unofficial API lets you get the current Royal Mail postage prices. It is a RESTful API based on HTTP requests and JSON responses. The API is free for both commercial and non-commercial usage.

Updates

URL
http://royalmail-api.hook.im/v1
GET
/prices

Parameters

item

required

Type of item.

ValueDescription
letterLetter
large_letterLarge Letter
small_parcelSmall Parcel
medium_parcelMedium Parcel
weight

required

Weight of item in KG.

service

optional

Type of service.

ValueDescription
rm_1st_classRoyal Mail 1st Class
rm_2nd_classRoyal Mail 2nd Class
rm_signed_1st_classRoyal Mail Signed For 1st Class
rm_signed_2nd_classRoyal Mail Signed For 2nd Class
rm_special_9amRoyal Mail Special Delivery Guaranteed by 9am
rm_special_1pmRoyal Mail Special Delivery Guaranteed by 1pm
rm_international_standardRoyal Mail International Standard
rm_international_standard_tracked_signedRoyal Mail International Standard Tracked & Signed
rm_international_standard_trackedRoyal Mail International Standard Tracked
rm_international_standard_signedRoyal Mail International Signed
rm_international_standard_economyRoyal Mail International Economy
compensation

optional

Value of compensation in GBP

destination

conditional

Must be specified if using an international service

Defaults to uk

ValueDescription
ukUK
europeEurope
world_zone_1World Zone 1
world_zone_2World Zone 2
euEU
non_euNon EU

Example

Request
JSON Response
http://royalmail-api.hook.im/v1/prices?
        item=letter
        &weight=0.05
        &service=rm_1st_class
Test request
[
                    {
                    "service": "Royal Mail 1st Class",
                    "item": "Letter",
                    "price": "0.60"
                    }
                    ]