search_journeys

Search possible journeys from A to B using train parts from the given timetables.

The trains are not simulated, meaning each stop needs to be dated in order to be taken into account. Until daily patterns are supported, timetables must be calendar anchored on 1970-01-01 UTC.

post/search_journeys

Request body

infra_idinteger required
start_msinteger required

Amount of milliseconds from 1970-01-01 00:00:00 UTC to the center of the start window.

The start window is defined as the time between start_sec - start_tolerance and start_sec + start_tolerance.

start_toleranceinteger required

Half the time of the start window in milliseconds.

The start window is defined as the time between start_sec - start_tolerance and start_sec + start_tolerance.

timetable_idsinteger[] required

Until daily patterns are supported, timetables must be calendar anchored on 1970-01-01 UTC.

transfer_msinteger required

Constant time for a transfer/footpath in the same stop in milliseconds.

The algorithm assumes that changing from one train to another in a stop always take this constant time.

Response

A list of journey proposals that match the input search query

Changes

Changed in 13 of the 82 revisions of this API.4035

    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • f50835ffc9de48See the full diff
    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • the /// response's property type changed from integer to object for status

      response-property-type-changed

    • the /// response's property type changed from integer to object for status

      response-property-type-changed

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 62dbae65a593102See the full diff
    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • the /// response's property type changed from object to integer for status

      response-property-type-changed

    • the /// response's property type changed from object to integer for status

      response-property-type-changed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • fa2c0899ac3648See the full diff
    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • the /// response's property type changed from integer to object for status

      response-property-type-changed

    • the /// response's property type changed from integer to object for status

      response-property-type-changed

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • the /// response's property type changed from object to integer for status

      response-property-type-changed

    • the /// response's property type changed from object to integer for status

      response-property-type-changed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 73f0d9b8f23a64See the full diff
    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceDomestic from the / request property oneOf list

      request-property-one-of-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceTrigram to the / request property oneOf list

      request-property-one-of-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ccb1c170fd3046See the full diff
    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: OperationalPointReferenceTrigram from the / request property oneOf list

      request-property-one-of-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the / request property oneOf list

      request-property-one-of-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added

    • endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 25 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 82 revisions, 2 have no diff computed.