📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Change Call Forward
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
  • registered agent
    • List Companies
    • List Registered Agents
    • List Documents
    • Download Document
    • Create Company
    • Delete Company
    • Create Registered Agent
    • Modify Registered Agent
Powered by GitBook
On this page
  1. NUMBERS / ORDERING

List Areas

List all Ratecenter/Cities and States

GET Request

https://v1.api19.com/dids/ratecenters/list?key=yourkey

Send us a GET/POST request with your key (in the URI as key or as http password)

We give you the City and Ratecenter so you can get human readable data (for instance ratecenter LSAN DA 01 is actually Los Angeles: 01 as the City.

Simply send us a GET/POST to the above URL to get an API response with the list of ratecenters, just pass state=[abbreviated_state].

curl "https://v1.api19.com/dids/ratecenters/list?key=yourkey"
curl -X POST https://v1.api19.com/dids/ratecenters/list \
 -d 'key=your-api-key'
{
    "status": "ok",
    "data": [
        {
            "ratecenter": "DENVER",
            "city": "Denver",
            "state": "CO"
        },
        {
            "ratecenter": "DALLAS",
            "city": "Dallas",
            "state": "TX"
        }
    ]
}
PreviousWelcomeNextList Numbers

Last updated 4 days ago