> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecroma.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SIATA Aburrá Valley Conditions

> Live environmental conditions for the Aburrá Valley (Medellín metropolitan area) from SIATA: per-station weather (temperature, humidity, wind, pressure), rainfall (accumulated + intensity), and air quality (24h PM2.5 + ICA index). All inputs optional: an empty body returns every station; pass `latitude` + `longitude` (with optional `radius_km`, default 10) to get only nearby stations, nearest first with `distance_km` populated. Coverage is the Medellín metro area only.



## OpenAPI

````yaml /api-reference/openapi.json post /co/siata/v1
openapi: 3.1.0
info:
  title: Croma Marketplace API
  version: 1.0.0
  description: >-
    Government-data APIs for Colombia, Peru, and global web search. Croma
    normalizes public-sector data into structured JSON for product teams and AI
    agents.
servers:
  - url: https://api.croma.run
security: []
paths:
  /co/siata/v1:
    post:
      tags:
        - Colombia
        - SIATA
      summary: SIATA Aburrá Valley Conditions
      description: >-
        Live environmental conditions for the Aburrá Valley (Medellín
        metropolitan area) from SIATA: per-station weather (temperature,
        humidity, wind, pressure), rainfall (accumulated + intensity), and air
        quality (24h PM2.5 + ICA index). All inputs optional: an empty body
        returns every station; pass `latitude` + `longitude` (with optional
        `radius_km`, default 10) to get only nearby stations, nearest first with
        `distance_km` populated. Coverage is the Medellín metro area only.
      operationId: siata_conditions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required: []
              properties:
                latitude:
                  type: number
                  minimum: -90
                  maximum: 90
                  description: >-
                    Optional latitude. With `longitude`, returns only stations
                    near that point.
                longitude:
                  type: number
                  minimum: -180
                  maximum: 180
                  description: >-
                    Optional longitude. With `latitude`, returns only stations
                    near that point.
                radius_km:
                  type: number
                  minimum: 1
                  maximum: 100
                  default: 10
                  description: >-
                    Radius in km around `latitude`/`longitude` to include
                    stations. Defaults to 10.
              additionalProperties: false
            example:
              latitude: 6.2442
              longitude: -75.5812
              radius_km: 5
      responses:
        '200':
          description: Successful response
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left before you are throttled.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: ISO 8601 timestamp when the window resets.
              schema:
                type: string
                format: date-time
            X-Cache:
              description: HIT or MISS. Cached hits still count against your quota.
              schema:
                type: string
                enum:
                  - HIT
                  - MISS
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SiataConditionsResponse'
        '400':
          description: Invalid request body
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left before you are throttled.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: ISO 8601 timestamp when the window resets.
              schema:
                type: string
                format: date-time
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: Upstream source returned an error
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
      externalDocs:
        description: Interactive documentation and examples
        url: https://usecroma.com/colombia/siata
components:
  schemas:
    SiataConditionsResponse:
      type: object
      required:
        - data
      properties:
        data:
          type: object
          required:
            - meteorology
            - rain
            - air_quality
          properties:
            meteorology:
              type: array
              items:
                $ref: '#/components/schemas/SiataMeteorologyStation'
            rain:
              type: array
              items:
                $ref: '#/components/schemas/SiataRainStation'
            air_quality:
              type: array
              items:
                $ref: '#/components/schemas/SiataAirQualityStation'
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              description: >-
                Broad category: invalid_request_error, authentication_error,
                not_found_error, rate_limit_error, upstream_error, api_error.
            code:
              type: string
              description: Machine-readable specific code.
            message:
              type: string
              description: Human-readable explanation, safe to surface in UI.
            param:
              type: string
              description: Field that triggered the error. Present on validation errors.
            details:
              type: object
              description: Free-form structured detail.
    SiataMeteorologyStation:
      type: object
      description: >-
        One weather station's current reading. Values are null when the station
        hasn't reported.
      required:
        - station
        - station_code
        - latitude
        - longitude
        - temperature_c
        - humidity_pct
        - wind_speed_ms
        - wind_direction_deg
        - wind_direction_cardinal
        - pressure_hpa
        - updated_at
        - distance_km
      properties:
        station:
          type: string
        station_code:
          type:
            - string
            - 'null'
        latitude:
          type:
            - number
            - 'null'
        longitude:
          type:
            - number
            - 'null'
        temperature_c:
          type:
            - number
            - 'null'
          description: Air temperature, °C.
        humidity_pct:
          type:
            - number
            - 'null'
          description: Relative humidity, %.
        wind_speed_ms:
          type:
            - number
            - 'null'
          description: Wind speed, m/s.
        wind_direction_deg:
          type:
            - number
            - 'null'
          description: Wind direction, degrees.
        wind_direction_cardinal:
          type:
            - string
            - 'null'
          description: Wind direction as a compass point (e.g. SSW).
        pressure_hpa:
          type:
            - number
            - 'null'
          description: Atmospheric pressure, hPa.
        updated_at:
          type:
            - string
            - 'null'
          description: Reading time, ISO 8601 UTC.
        distance_km:
          type:
            - number
            - 'null'
          description: >-
            Distance in km from the query point; null when no location filter
            was applied.
    SiataRainStation:
      type: object
      description: One rain-gauge station's current reading.
      required:
        - station
        - station_code
        - latitude
        - longitude
        - accumulated_mm
        - intensity_mm_h
        - updated_at
        - distance_km
      properties:
        station:
          type: string
        station_code:
          type:
            - string
            - 'null'
        latitude:
          type:
            - number
            - 'null'
        longitude:
          type:
            - number
            - 'null'
        accumulated_mm:
          type:
            - number
            - 'null'
          description: Accumulated rainfall, mm.
        intensity_mm_h:
          type:
            - number
            - 'null'
          description: Rain intensity, mm/h.
        updated_at:
          type:
            - string
            - 'null'
          description: Reading time, ISO 8601 UTC.
        distance_km:
          type:
            - number
            - 'null'
          description: >-
            Distance in km from the query point; null when no location filter
            was applied.
    SiataAirQualityStation:
      type: object
      description: One air-quality station's latest 24-hour average reading.
      required:
        - station
        - station_code
        - municipality
        - latitude
        - longitude
        - pm25
        - air_quality_index
        - updated_at
        - distance_km
      properties:
        station:
          type: string
        station_code:
          type:
            - string
            - 'null'
        municipality:
          type:
            - string
            - 'null'
        latitude:
          type:
            - number
            - 'null'
        longitude:
          type:
            - number
            - 'null'
        pm25:
          type:
            - number
            - 'null'
          description: 24-hour average PM2.5 concentration, µg/m³.
        air_quality_index:
          type:
            - number
            - 'null'
          description: Colombia's air-quality index (ICA), 24-hour average.
        updated_at:
          type:
            - string
            - 'null'
          description: End of the 24-hour averaging window, ISO 8601 UTC.
        distance_km:
          type:
            - number
            - 'null'
          description: >-
            Distance in km from the query point; null when no location filter
            was applied.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use Authorization: Bearer YOUR_API_KEY'

````