Skip to content

IntegrationsAnalytics · Beta

StreetLight Data API integration

Put StreetLight Data in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1000+ apps

01Proxy API

Call the StreetLight Data API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the StreetLight Data API. You call us, we call StreetLight Data, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIStreetLight Data

GEThttps://api.truto.one/proxy/tags?integrated_account_id=…

  • GET/proxy/analyses

StreetLight Data’s own response, passed back

02MCP server

StreetLight Data tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets StreetLight Data tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin StreetLight Data
  • DebugCreate
  • Zone setsList, Create
  • Date rangesList
  • TagsList, Create, Delete, Bulk create, Bulk delete
  • AnalysisCreate, Update, Delete
  • AnalysesList, Search
  • Analysis cancellationCreate
  • Analysis metrics by uuidList
  • Analysis metrics by nameList
  • Satc metricsList
  • Satc metric pagesList
  • Satc geometriesList
  • Satc geometry pagesList
  • Satc segment countsList
  • Satc usageList
  • OsmIds search
Show tool names24 tools, for developers
  • create_a_street_light_data_debugEcho a message to verify connectivity with StreetLight. Returns: message, status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas.
  • create_a_street_light_data_zone_setCreate a new zone set in StreetLight InSight. Returns: name, status, uuid. Required: insight_login_email. zones and osm_ids are mutually exclusive.
  • list_all_street_light_data_zone_setsSearch StreetLight InSight zone sets. Returns zone sets including zone_set_uuid, zone_set_name, status, created_date, and zones. Max 100 results.
  • street_light_data_osm_ids_searchSearch StreetLight OSM segments by geometry. Returns an array of records, each containing osm_id, road_classification, and osm_segment_count. Required: geometry.
  • list_all_street_light_data_date_rangesList available date ranges for a Streetlight travel mode and country. Returns default, supports, and AGPS-specific Network_Performance and Network_OD date ranges. Required: country, travel_mode_type.
  • list_all_street_light_data_tagsList available tags in your StreetLight organization. Returns: analysis_num, created_by, created_date, tag_name.
  • create_a_street_light_data_tagCreate a new StreetLight tag to organize analyses. Returns: tag_name, status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: insight_login_email, tag_name.
  • delete_a_street_light_data_tag_by_idDelete a tag in StreetLight. Returns: status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: insight_login_email, id.
  • street_light_data_tags_bulk_createAdd one or more tags to one or more StreetLight analyses. Returns: status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: insight_login_email, tags, analyses.
  • street_light_data_tags_bulk_deleteRemove one or more tags from one or more StreetLight analyses. Returns: status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: insight_login_email, tags, analyses.
  • create_a_street_light_data_analysisCreate and run a new StreetLight analysis. Returns the created analysis name, status, and UUID. Required: insight_login_email, analysis_type, travel_mode_type, oz_sets.
  • street_light_data_analyses_searchSearch StreetLight analyses by date range, name, type, travel mode, tags, queue status, or API key. Returns: analysis_name, analysis_type, analysis_uuid, created_by_uuid, created_date, data_period, number_of_zones, tags, travel_mode.
  • list_all_street_light_data_analysesCheck the status and included metrics for one or more StreetLight analyses. Returns: name, status. Required: analyses.
  • update_a_street_light_data_analysis_by_idUpdate the name or description of a StreetLight analysis by id. Returns: analysis_name, analysis_uuid, status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: id, name.
  • delete_a_street_light_data_analysis_by_idDelete a StreetLight analysis by id. Returns: analysis_name, analysis_uuid, status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: id.
  • create_a_street_light_data_analysis_cancellationCancel a StreetLight analysis by its analysis name. Returns: analysis_name, analysis_uuid, status, openapi, info, servers, security, paths, components, x-readme, x-readme-fauxas. Required: cancel_id.
  • list_all_street_light_data_analysis_metrics_by_uuidDownload StreetLight analysis metrics by UUID. Returns the metrics file in the `content` field as a CSV or zip payload with metric-specific columns. Required: uuid_id, metric.
  • list_all_street_light_data_analysis_metrics_by_nameDownload metrics for a StreetLight analysis by name. Returns a CSV-formatted metrics file with columns that vary by the requested metric. Required: name_id, metric.
  • list_all_street_light_data_satc_metricsGet StreetLight traffic metrics for segments within a defined geometry. Returns an array of metric rows, each row an array of values ordered by the requested columns (segment_id followed by the requested metric fields). Required: geometry, country, mode, fields, day_part, day_type, and direction. One of date or date_range is required, but not both. Queries count against your segment quota; do not…
  • list_all_street_light_data_satc_metric_pagesList metric rows from a previous StreetLight SATC metrics query by paging id. Returns an array of metric rows, each row an ordered array of numeric values matching the requested columns. Required: paging_id.
  • list_all_street_light_data_satc_geometriesList StreetLight segment geometries in GeoJSON format. Returns an array of geometry records, each containing a segment_id and its GeoJSON LineString. Required: mode, geometry, country. Max 10,000 results per page.
  • list_all_street_light_data_satc_geometry_pagesList the next page of segment geometries for a StreetLight geometry query. Returns segment_id and line_geometry for each record. Required: paging_id. Max 10000 per page.
  • list_all_street_light_data_satc_segment_countsCount segments in a StreetLight geometry. Returns the matching segment count. Required: geometry, country, mode. Result is never lower than the metrics endpoint count but may be higher.
  • list_all_street_light_data_satc_usageList previous StreetLight SATC usage requests. Returns: status, created_date, type, job_id, billed_fields_queried, segments_queried, is_billable.

AMCP serverno code

For any MCP client

One URL per connected StreetLight Data account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every StreetLight Data tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call StreetLight Data the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. StreetLight Data is not in one yet. Build your own model, or ask us.

StreetLight Dataon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Get a free sandbox

  • Path 2 We do it

    Ask Truto

    • Tell us the StreetLight Data data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync StreetLight Data data on a schedule. Sent to your webhook.

A sync job reads StreetLight Data records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any StreetLight Data endpoint. With the Truto CLI.

Need a StreetLight Data endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any StreetLight Data path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use StreetLight Data in ChatGPT, Claude or Cursor with Elaichi.

Truto puts StreetLight Data in the product you build. To use StreetLight Data yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship StreetLight Data tools in your product

Give the AI in your product access to each customer’s own StreetLight Data account, with one MCP server per connected account.

Elaichi

For your own team

Use StreetLight Data in your own AI

Connect your company’s StreetLight Data once, then ask in the AI you already use, with exactly your own access.

Works in

StreetLight Data on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with StreetLight Data.

  1. Embed traffic analytics in PropTech and site selection tools

    Real estate and retail platforms can offer users instant vehicular and pedestrian traffic metrics for any parcel or catchment area, replacing costly manual traffic studies with API-driven insights rendered directly in the app.

  2. Power smart city and digital twin dashboards

    SaaS platforms serving DOTs and municipal planners can pull StreetLight's AADT, VMT, and congestion metrics on demand, letting their customers correlate mobility patterns against local IoT and safety data in a single command center.

  3. Automate transportation emissions and ESG reporting

    Sustainability platforms can trigger StreetLight analyses to fetch VMT and active transportation metrics, so municipalities and enterprises can quantify transport-related emissions and track reductions over time without manual data collection.

  4. Enable programmatic corridor and O-D studies for engineering firms

    Civil engineering SaaS tools can let users define zones and kick off asynchronous origin-destination or corridor analyses from within their existing project workflow, then pipe results into proprietary dashboards or GIS layers.

What you can build

Ship these with Truto and StreetLight Data.

  • On-demand traffic count heatmaps

    Let users draw a polygon in your app and use the SATC endpoints to render road-segment geometries with vehicle counts by day part, day type, and direction.

  • Asynchronous analysis orchestration

    Trigger StreetLight analyses with custom zone sets and travel modes, poll status via the analyses list endpoint, and surface completion events back to your users.

  • Zone builder from OpenStreetMap

    Let users search OSM features inside your app and construct reusable StreetLight zone sets programmatically for repeatable studies.

  • Metric export and visualization pipelines

    Pull completed analysis metrics by UUID or name into your backend to power native time-series charts, O-D matrices, and CSV downloads inside your product.

  • Multi-tenant project tagging

    Map your internal workspace or project IDs to StreetLight tags using bulk tag creation so analyses stay organized per end-customer across your platform.

  • Quota and usage monitoring

    Surface remaining SATC segment counts and usage to your users before they submit expensive requests, preventing failed jobs and quota surprises.

Security

Your customers’ StreetLight Data data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s StreetLight Data account

    Use Truto’s frontend SDK to connect your customer’s StreetLight Data account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call StreetLight Data

    Truto’s Proxy API is a 1-to-1 mapping of the StreetLight Data API. You call us, we call StreetLight Data, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate StreetLight Data’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about StreetLight Data on Truto.

How does authentication work for StreetLight Data via Truto?

Each of your end users connects their own StreetLight Data account through Truto, which manages credential storage, refresh, and secure token handoff. You never handle raw API keys or auth flows in your product code.

Can we run both synchronous traffic counts and long-running analyses?

Yes. The SATC endpoints support near-real-time segment counts, geometries, and metrics for polygon-based lookups, while the analysis endpoints support asynchronous multi-modal studies that you create, list, update, cancel, and fetch metrics from once complete.

How do we handle analyses that take minutes or hours to complete?

Create the analysis, then poll list_all_street_light_data_analyses to track status. Once complete, retrieve outputs via list_all_street_light_data_analysis_metrics_by_uuid or by name to load the results into your product.

Can we organize analyses per customer or project inside our SaaS?

Yes. Use the tag endpoints, including bulk create and delete, to map your internal workspace or project identifiers to StreetLight so analyses remain segmented per end-user account.

How do we define custom geographic zones for analyses?

Use street_light_data_osm_ids_search to look up OpenStreetMap features, then create_a_street_light_data_zone_set to persist reusable zones. Existing zone sets can be listed for selection in your UI.

Can end users cancel or modify analyses from our product?

Yes. Truto exposes tools to update an analysis, delete it, or create a cancellation, so you can build full lifecycle controls into your UI without wrapping the raw StreetLight API.

How do we avoid hitting StreetLight quotas?

Before submitting SATC requests, call list_all_street_light_data_satc_segment_counts and list_all_street_light_data_satc_usage to check remaining capacity and surface it to users, so heavy requests can be gated in your product.

StreetLight Data

Get StreetLight Data integrated into your app

Sign up free, connect a test StreetLight Data account and make your first call today. No card and no sales call.