Google

Pollen API

The Pollen API.

Maps & location#openapi

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

The Pollen API.

Endpoints 2

forecast

  • GETReturns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution./v1/forecast:lookup?days=0&languageCode=string&location.latitude=0.0&location.longitude=0.0&pageSize=0&pageToken=string&plantsDescription=trueReturns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.

mapTypes.heatmapTiles

  • GETReturns a byte array containing the data of the tile PNG image./v1/mapTypes/:mapType/heatmapTiles/:zoom/:x/:yReturns a byte array containing the data of the tile PNG image.

API details

Base URL
https://pollen.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
2 operations on 2 pathsGET 2
Main resources
forecast 1mapTypes.heatmapTiles 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Pollen API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Pollen API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.” (GET /v1/forecast:lookup?days=0&languageCode=string&location.latitude=0.0&location.longitude=0.0&pageSize=0&pageToken=string&plantsDescription=true), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Pollen API?

The Pollen API. It is listed under Maps & location and has 2 endpoints.

Who publishes the Pollen API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Pollen API?

Requests go to https://pollen.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Pollen API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.

How many endpoints does the Pollen API have?

2 operations on 2 paths (2 GET). The largest groups are forecast, mapTypes.heatmapTiles.

Is forking the Pollen API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.