Pirate Weather API
Pirate Weather provides an open, free, and documented source of government weather data.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Pirate Weather provides an open, free, and documented source of government weather data.
Endpoints 1
Weather
- GETMake a request to Pirate Weather
/forecast/:api_key/:lat_and_long_or_timeFetch a weather forecast or get historical weather data based on latitude/longitude or city/country input.
API details
- Base URL
https://api.pirateweather.nethttps://dev.pirateweather.nethttps://timemachine.pirateweather.net- Authentication
- None declared in the description
- Operations
- 1 operation on 1 pathGET 1
- Main resources
- Weather 1
- Response formats
application/jsontext/html- Description format
- OpenAPI 3.1.0, API version
2.10.4 - Listed from
- Pirate Weather's published OpenAPI description (Pirate-Weather/pirateweather) (Apache-2.0)
How to test the Pirate Weather API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Pirate Weather API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Make a request to Pirate Weather” (GET /forecast/:api_key/:lat_and_long_or_time), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Pirate Weather API?
Pirate Weather provides an open, free, and documented source of government weather data. It is listed under Maps & location and has 1 endpoint.
Who publishes the Pirate Weather API?
It is listed from Pirate Weather's public API description (an OpenAPI document), not published by Pirate Weather on Swastik Codes. Anyone who controls pirateweather.net can claim the profile by adding a DNS TXT record.
What is the base URL of the Pirate Weather API?
Its description lists 3 base URLs: https://api.pirateweather.net, https://dev.pirateweather.net, https://timemachine.pirateweather.net. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Pirate Weather API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Pirate Weather API have?
1 operation on 1 path (1 GET). The largest groups are Weather.
Is forking the Pirate Weather API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.