Skip to main content
GET
/
transit
/
patterns
Patterns
curl --request GET \
  --url 'https://api.511.org/transit/patterns?api_key='
{
  "Siri": {
    "ServiceDelivery": {
      "DataObjectDelivery": {
        "dataObjects": {
          "ServiceFrame": {
            "journeyPatterns": {
              "ServiceJourneyPattern": [
                {
                  "id": "SF:49:outbound",
                  "Name": "Outbound",
                  "pointsInSequence": {
                    "StopPointInJourneyPattern": [
                      {
                        "order": 1,
                        "ScheduledStopPointRef": "18079"
                      },
                      {
                        "order": 2,
                        "ScheduledStopPointRef": "18080"
                      }
                    ]
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Authorizations

api_key
string
query
required

511.org token query parameter.

Query Parameters

format
enum<string>
default:json

Desired response format. JSON is the default when omitted.

Available options:
json,
xml
accept_language
string

Optional language hint for NeTEx endpoints when multiple languages are available.

operator_id
string
required

Operator or agency identifier.

line_id
string
required

Line or route identifier.

pattern_id
string

Journey pattern identifier.

Response

Patterns in JSON or XML.

The response is of type object.