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
compensation

optional

Value of compensation in GBP

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"
  }
]