GnistAI GnistAI
Log in

Entur (Norwegian Transit)

Norwegian public transit — routes, stops, departures, and journey planning.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: flagship lifecycle lifecycle flagship flagship Transport

Data source: Entur

REST Bridge Endpoint https://context.gnist.ai/rest/entur/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

search_stops

Search for transit stops by name.

Args:
query: Stop name or partial name to search for.
lat: Optional latitude to boost nearby results.
lon: Optional longitude to boost nearby results.
limit: Maximum number of results (default 5).

Returns:
List of stops with id, name, lat, lon, description.

ParameterTypeRequiredDescription
querystringrequiredStop name or partial name to search for.
latanyoptionalOptional latitude to boost nearby results.
lonanyoptionalOptional longitude to boost nearby results.
limitintegeroptionalMaximum number of results (default 5). (default: 5)
Request Body
{
  "query": "example"
}
get_departures

Get upcoming departures from a transit stop.

Args:
stop_id: The stop ID (e.g. NSR:StopPlace:59872 for Oslo S).
Use search_stops to find IDs.
limit: Maximum number of departures (default 10).

Returns:
List of departures with line, destination, expected_departure,
aimed_departure, realtime, transport_mode, platform.

ParameterTypeRequiredDescription
stop_idstringrequiredThe stop ID (e.g. NSR:StopPlace:59872 for Oslo S). Use search_stops to find IDs.
limitintegeroptionalMaximum number of departures (default 10). (default: 10)
Request Body
{
  "stop_id": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/entur/search_stops" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"query": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/entur/search_stops",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "query": "example"
},
)
print(resp.json())

Related Toolkits (Transport)

Resources