South Tyrol & Swiss Tourism Data API

Hotels, events and points of interest across South Tyrol and Switzerland from the Open Data Hub: name, type, category, coordinates, town, website, dates and the licence of each record.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 14 fieldsv1.0

Data from tourism.api.opendatahub.com/v1/Accommodation

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Data typeoptional
Kind of record: accommodation, event, poi, or all for a mix of the three.
Searchoptional
Words in the name, such as hotel.
Example: hotel

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/south-tyrol-tourism-data/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/south-tyrol-tourism-data/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"data_type":"accommodation"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

data_typetext
Kind of record: accommodation, event, poi, or all for a mix of the three.
default: accommodationexample: accommodationone of: accommodation, event, poi, all
searchtext
Words in the name, such as hotel.
example: hotel

What's in each record

14 fields: 13 here, 1 technical one under Technical details.

Basics

  • Name

    Name of the hotel, event or place.

    Example 25hours Hotel Langstrasse

  • Type

    Accommodation type (such as HotelPension), event, or the main tag of a point of interest.

    Example HotelPension

  • Category

    Star category of an accommodation or the category of a point of interest.

    Example 4stars

  • Active

    Whether the record is marked active in the source.

    Example Yes

  • License

    Licence of this record, such as CC0 or CC BY.

    Example CC BY

  • License holder

    Who holds the rights, to credit when you publish.

    Example www.discover.swiss

Location

  • Latitude

    Latitude in degrees.

    Example 47.380424

  • Longitude

    Longitude in degrees.

    Example 8.528702

  • City

    Town or municipality.

    Example Zürich

Dates

  • Begin date

    First day of an event.

    Example Oct 14, 2016

  • End date

    Last day of an event.

    Example Nov 11, 2016

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe Open Data Hub id of the record.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
nametextName3 of 3
typetextType3 of 3
categorytextCategory2 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
citytextCity3 of 3
websitelinkWebsite1 of 3
is_activeyes or noActive3 of 3
begin_datedateBegin date1 of 3
end_datedateEnd date1 of 3
licensetextLicense3 of 3
license_holdertextLicense holder3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameTypeCategoryActiveLicenseLicense holderLatitudeLongitudeCityBegin dateEnd dateLinkWebsite
125hours Hotel LangstrasseHotelPension4starsYesCC BYwww.discover.swiss47.3804248.528702Zürich——tourism.api.opendatahub.com/v1/Accommodation/46EF448C-9F14-48E8-A745-C66CB442F072—
212. Rieslingtage Naturns: Weinverkostungen im Hotelevent—YesCC0lts.it46.650611.005Naturns/NaturnoOct 14, 2016Nov 11, 2016tourism.api.opendatahub.com/v1/Event/EC56957C8E894C818F231E266C9BEE3D—
3Granpanorama-Hotel Stephanshofessen trinkengastronomyYesCC0lts.it46.63420111.5419Villanders/Villandro——tourism.api.opendatahub.com/v1/ODHActivityPoi/smgpoi8a0630c7573711d4befb0050da3a0062stephanshof.com

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One run returns one kind of record (accommodation, event or poi), or all three interleaved when data_type is all.
  • Event dates, categories and websites are filled only where the data owner supplies them; many hotels and places have no website or category.
  • Names are the source's short name, usually in the local language, and towns are given in English where the source has them.
  • Each record has its own licence (CC0, CC BY or CC BY-SA); records flagged as closed data are left out. Keep the licence and credit the license_holder when you publish.
  • Requests are spaced half a second apart, 200 records per request, so 10,000 records take about 25 seconds of requests.

Version history

A run uses the live version unless the request names another one with version.