---
updatedAt: 2025-05-12T20:22:58.000Z
agentTools:
  projectIndex: https://docs.etherfax.net/llms.txt
---

# /routes (parse)

Parses the specified number in {id} and returns information such as destination country, etc. The {country} parameter may be used to specify the country of origin. If omitted, the country code assigned to the account will be used.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "etherfax-rest-api-30",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://na.connect.etherfax.net/rest/3.0/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/routes?a=parse": {
      "get": {
        "summary": "/routes (parse)",
        "description": "Parses the specified number in {id} and returns information such as destination country, etc. The {country} parameter may be used to specify the country of origin. If omitted, the country code assigned to the account will be used.",
        "operationId": "routes-parse",
        "parameters": [
          {
            "name": "a",
            "in": "query",
            "description": "Action to perform.",
            "schema": {
              "type": "string",
              "default": "parse"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "Specifies the route (phone number) to query.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "(Optional) Specifies the country code or origin.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"InternationalDialPrefix\": \"011\",\n  \"Normalized\": \"8005551234\",\n  \"Origin\": \"+1/United States/Canada\",\n  \"E164\": \"+18005551234\",\n  \"Destination\": \"+1/United States/Canada\",\n  \"Route\": \"8005551234\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "InternationalDialPrefix": {
                      "type": "string",
                      "example": "011"
                    },
                    "Normalized": {
                      "type": "string",
                      "example": "8005551234"
                    },
                    "Origin": {
                      "type": "string",
                      "example": "+1/United States/Canada"
                    },
                    "E164": {
                      "type": "string",
                      "example": "+18005551234"
                    },
                    "Destination": {
                      "type": "string",
                      "example": "+1/United States/Canada"
                    },
                    "Route": {
                      "type": "string",
                      "example": "8005551234"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "Basic"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```