mail

Estimate cost

Quote the exact credit cost of a letter or postcard without sending anything; free and read-only. A quote that passes a pdf_url downloads the PDF to count its pages, up to 20 such quotes an hour per account.

post/v1/estimate

Request

  • Base URL: https://api.noerrands.com/c/mail
  • URL: https://api.noerrands.com/c/mail/v1/estimate
  • Auth: HTTP bearer

Request body

kind'letter' | 'postcard' required
pagesinteger
colorboolean
certifiedboolean
double_sidedboolean

Letters only. Pages per sheet decide the heavy-letter postage surcharge.

pdf_urlstring uri

Letters only. Quote this PDF on its real page count, exactly as send_letter will bill it; overrides pages.

Response

Success.

total_centsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.