Hoppa direkt till innehåll
API specifications
Stadsnätsportalen's implementation of the ON-API. For some reasons the implementation differ from other single-CO/single-SP implementations. The base url needs to be modified for each origin you wish to fetch data from.

If you are a service provider (SP) you access the API using a specific coId as origin. Available coId endpoint URLs can be seen in the Stadsnätsportalen dashboard when logged in as a SP

All coId codes can also be found here where they can also be read by machine. SP can only access coId's where you deliver services through the Tjänsteguide
FormatJSON AuthHTTP Auth OriginStadsnät ConsumerTjänsteleverantör
  • endpoints
    Lists available endpoints for given origin
  • accesses
    Will list all accesses from selected coId that the SP has access to.

    The response follows the Marknadsdatabasen specification, which is based on the SSNF specification which in turn is based on the PI-API spec, on which ON-API is built. This means that some fields exists that does not exist in ON-API, and some values differ due to the difference in the much older Marknadsdatasen-specification.