Help Center
All API resources

Tools

Helpers for testing and integration: list seller IDs and score a phone number by whether it has carried traffic on the exchange.

List seller routes

POST/sellers/list

Lists the routes on the exchange that you can see: every public route plus the private routes a seller has opened to you, with the seller's login and i_vendor, the route's i_connection and i_tariff, and its type label. Use i_connection to buy a route and i_tariff to download its rate deck. Free.

Send pager and off in the form body; they are ignored in the query string. pager is an end position: off=30 with pager=30 returns no routes.

Parameters

  • offintegerform fieldOptional

    Position of the first route to return, counting from 0.

    Default0
  • pagerintegerform fieldOptional

    Position at which to stop, exclusive. This is an end position, not a page size: to read routes 30 to 59, send off=30 and pager=60. Send a large value such as 10000 to get every route.

    Default30
    Example10000
POST/sellers/list
curl --digest -u "$TCXC_USERNAME:$TCXC_API_KEY" -X POST \
  "https://apiv2.telecomsxchange.com/sellers/list" \
  -d off=0 \
  -d pager=10000
Response
{
  "status": "success",
  "routes": [
    {
      "seller_name": "NorthStarTel",
      "i_vendor": "112",
      "route_name": "UAE Premium",
      "i_connection": "128",
      "i_tariff": "129",
      "private": "0",
      "i_private_connection": null,
      "type": "NA"
    },
    {
      "seller_name": "NorthStarTel",
      "i_vendor": "112",
      "route_name": "Egypt CLI",
      "i_connection": "133",
      "i_tariff": "134",
      "private": "1",
      "i_private_connection": "57",
      "type": "NA"
    }
  ]
}