Hello,

on your pricing page it is stated that Batch requests are available for Advanced accounts but I can not find any information on your site or in the API description regarding Batch requests but Bulk requests are well documented though?

Thank you

Michael

Category: API

Replies

John says:
March, Sunday, 2018 at 9:36PM

Hello Michael,

Yes, we apologize for the lack of clarity surrounding batch requests. Batch requests refer to retrieval of multiple observations within a single API request.

We currently support batch current weather observation requests by multiple station ID's / ICAO's:

https://api.weatherbit.io/v2.0/current?stations=KRDU,KSEA&key=YOUR_API_KEY

or multiple city ID's:

https://api.weatherbit.io/v2.0/current?cities=8953360,8953361,8953362&key=YOUR_API_KEY

See: Current weather API documentation

Feel free to reach out with any additional questions,
John at Weatherbit

Michael Schmidt says:
March, Sunday, 2018 at 9:47PM

Thank you, this is very interesting.

How many stations can be added per batch request?

John says:
March, Sunday, 2018 at 11:30PM

As many as you can fit in the URI request string. However, we recommend limiting it to < 500 stations per request.

Thanks for using our API, John at Weatherbit

Leave A Reply

What is 2 times 3?