Google Maps Platform Maps Pollen Forecast API

The Maps Pollen Forecast API from Google Maps Platform — 1 operation(s) for maps pollen forecast.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/forecast:lookup Get the pollen forecast for a place · Lookup forecast #
Ask an LLM
“What will the pollen levels be this week at a location?”
“Can I get up to five days of daily pollen information?”
Tell an agent
Get the {days}-day pollen forecast at {latitude}, {longitude}.
Show pollen levels at {latitude}, {longitude} with plant descriptions.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-pollen-forecast-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-pollen-forecast-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pollen API Forecast Pollen Forecast API
  version: v1
  description: Generated from Google's published Discovery document for Pollen API (pollen v1, revision 20261111). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://pollen.googleapis.com
tags:
- name: Pollen Forecast
paths:
  /v1/forecast:lookup:
    get:
      operationId: pollen.forecast.lookup
      summary: Lookup forecast
      description: Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.
      parameters:
      - name: days
        in: query
        required: false
        description: Required. A number that indicates how many forecast days to request (minimum value 1, maximum value is 5).
        schema:
          format: int32
          type: integer
      - name: languageCode
        in: query
        required: false
        description: Optional. Allows the client to choose the language for the response. If data cannot be provided for that language, the API uses the closest match. Allowed values rely on the IETF BCP-47 standard. The default value is "en".
        schema:
          type: string
      - name: location.latitude
        in: query
        required: false
        description: The latitude in degrees. It must be in the range [-90.0, +90.0].
        schema:
          type: number
          format: double
      - name: location.longitude
        in: query
        required: false
        description: The longitude in degrees. It must be in the range [-180.0, +180.0].
        schema:
          type: number
          format: double
      - name: pageSize
        in: query
        required: false
        description: Optional. The maximum number of daily info records to return per page. The default and max value is 5, indicating 5 days of data.
        schema:
          format: int32
          type: integer
      - name: pageToken
        in: query
        required: false
        description: Optional. A page token received from a previous daily call. It is used to retrieve the subsequent page. Note that when providing a value for the page token, all other request parameters provided must match the previous call that provided the page token.
        schema:
          type: string
      - name: plantsDescription
        in: query
        required: false
        description: Optional. Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos. The default value is "true".
        schema:
          type: boolean
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookupForecastResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Pollen Forecast
components:
  schemas:
    Date:
      type: object
      properties:
        day:
          description: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          type: integer
          format: int32
        month:
          format: int32
          type: integer
          description: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
        year:
          format: int32
          type: integer
          description: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
      description: 'Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp'
    IndexInfo:
      type: object
      properties:
        color:
          $ref: '#/components/schemas/Color'
          description: The color used to represent the Pollen Index numeric score.
        category:
          type: string
          description: 'Text classification of index numerical score interpretation. The index consists of six categories: * 0: "None" * 1: "Very low" * 2: "Low" * 3: "Moderate" * 4: "High" * 5: "Very high'
        displayName:
          type: string
          description: 'A human readable representation of the index name. Example: "Universal Pollen Index".'
        code:
          type: string
          enum:
          - INDEX_UNSPECIFIED
          - UPI
          description: 'The index''s code. This field represents the index for programming purposes by using snake cases instead of spaces. Example: "UPI".'
        indexDescription:
          type: string
          description: Textual explanation of current index level.
        value:
          type: integer
          format: int32
          description: The index's numeric score. Numeric range is between 0 and 5.
      description: This object contains data representing specific pollen index value, category and description.
    PollenTypeInfo:
      description: This object contains the pollen type index and health recommendation information on specific pollen type.
      properties:
        code:
          description: 'The pollen type''s code name. For example: "GRASS"'
          type: string
          enum:
          - POLLEN_TYPE_UNSPECIFIED
          - GRASS
          - TREE
          - WEED
        healthRecommendations:
          items:
            type: string
          type: array
          description: Textual list of explanations, related to health insights based on the current pollen levels.
        indexInfo:
          $ref: '#/components/schemas/IndexInfo'
          description: Contains the Universal Pollen Index (UPI) data for the pollen type.
        displayName:
          description: 'A human readable representation of the pollen type name. Example: "Grass"'
          type: string
        inSeason:
          description: Indication whether the plant is in season or not.
          type: boolean
      type: object
    Color:
      description: 'Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor''s `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn''t have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!(''alpha'' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join('',''); return [''rgba('', rgbParams, '','', alphaFrac, '')''].join(''''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = [''#'']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push(''0''); } resultBuilder.push(hexString); return resultBuilder.join(''''); }; // ...'
      type: object
      properties:
        red:
          description: The amount of red in the color as a value in the interval [0, 1].
          format: float
          type: number
        green:
          description: The amount of green in the color as a value in the interval [0, 1].
          format: float
          type: number
        alpha:
          format: float
          description: 'The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).'
          type: number
        blue:
          description: The amount of blue in the color as a value in the interval [0, 1].
          type: number
          format: float
    PlantDescription:
      properties:
        family:
          description: 'A human readable representation of the plant family name. Example: "Betulaceae (the Birch family)".'
          type: string
        type:
          type: string
          enum:
          - POLLEN_TYPE_UNSPECIFIED
          - GRASS
          - TREE
          - WEED
          description: 'The plant''s pollen type. For example: "GRASS". A list of all available codes could be found here.'
        crossReaction:
          description: 'Textual description of pollen cross reaction plants. Example: Alder, Hazel, Hornbeam, Beech, Willow, and Oak pollen.'
          type: string
        picture:
          type: string
          description: Link to the picture of the plant.
        pictureCloseup:
          description: Link to a closeup picture of the plant.
          type: string
        specialColors:
          type: string
          description: Textual description of the plants' colors of leaves, bark, flowers or seeds that helps identify the plant.
        season:
          description: 'Textual list of explanations of seasons where the pollen is active. Example: "Late winter, spring".'
          type: string
        specialShapes:
          description: Textual description of the plants' shapes of leaves, bark, flowers or seeds that helps identify the plant.
          type: string
      type: object
      description: Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.
    PlantInfo:
      description: This object contains the daily information on specific plant.
      type: object
      properties:
        displayName:
          description: 'A human readable representation of the plant name. Example: “Cottonwood".'
          type: string
        plantDescription:
          $ref: '#/components/schemas/PlantDescription'
          description: Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.
        indexInfo:
          $ref: '#/components/schemas/IndexInfo'
          description: This object contains data representing specific pollen index value, category and description.
        code:
          type: string
          description: 'The plant code name. For example: "COTTONWOOD". A list of all available codes could be found here.'
          enum:
          - PLANT_UNSPECIFIED
          - ALDER
          - ASH
          - BIRCH
          - COTTONWOOD
          - ELM
          - MAPLE
          - OLIVE
          - JUNIPER
          - OAK
          - PINE
          - CYPRESS_PINE
          - HAZEL
          - GRAMINALES
          - RAGWEED
          - MUGWORT
          - JAPANESE_CEDAR
          - JAPANESE_CYPRESS
        inSeason:
          type: boolean
          description: Indication of either the plant is in season or not.
    DayInfo:
      properties:
        date:
          $ref: '#/components/schemas/Date'
          description: The date in UTC at which the pollen forecast data is represented.
        pollenTypeInfo:
          description: This list will include up to three pollen types (GRASS, WEED, TREE) affecting the location specified in the request.
          type: array
          items:
            $ref: '#/components/schemas/PollenTypeInfo'
        plantInfo:
          type: array
          description: This list will include up to 15 pollen species affecting the location specified in the request.
          items:
            $ref: '#/components/schemas/PlantInfo'
      description: This object contains the daily forecast information for each day requested.
      type: object
    LookupForecastResponse:
      properties:
        nextPageToken:
          description: Optional. The token to retrieve the next page.
          type: string
        dailyInfo:
          type: array
          items:
            $ref: '#/components/schemas/DayInfo'
          description: Required. This object contains the daily forecast information for each day requested.
        regionCode:
          description: The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.
          type: string
      type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
externalDocs:
  url: https://developers.google.com/maps/documentation/pollen
x-provenance:
  method: harvested
  publisher: Google
  source: https://pollen.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)