fourzerotwo-si Uk Rivers API

UK River Levels, Flow & Rainfall: Environment Agency hydrology gauges across England: river levels and flows (m³/s), rainfall totals and groundwater levels, with 15-minute readings. Find gauges near a postcode, then read the latest or recent series.

Operations 6

GET /v1/uk-rivers/stations-near UK River Levels, Flow & Rainfall: Gauges near a point #
GET /v1/uk-rivers/station UK River Levels, Flow & Rainfall: Gauge details #
GET /v1/uk-rivers/latest UK River Levels, Flow & Rainfall: Latest reading #
GET /v1/uk-rivers/readings UK River Levels, Flow & Rainfall: Recent readings #
GET /v1/uk-rivers/rainfall-near UK River Levels, Flow & Rainfall: Rainfall near a point #

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/fourzerotwo-si:fourzerotwo-si-uk-rivers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

fourzerotwo-si-uk-rivers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fourzerotwo Si Uk Rivers API
  version: 1.1.0
  contact:
    url: https://fourzerotwo.si
  description: 'Operations tagged uk-rivers across 2 of this provider''s published API definitions: openapi.json, fourzerotwo-si-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fourzerotwo.si
tags:
- name: uk-rivers
  description: 'UK River Levels, Flow & Rainfall: Environment Agency hydrology gauges across England: river levels and flows (m³/s), rainfall totals and groundwater levels, with 15-minute readings. Find gauges near a postcode, then read the latest or recent series.'
paths:
  /v1/uk-rivers/stations-near:
    get:
      operationId: uk_rivers__stations_near
      summary: 'UK River Levels, Flow & Rainfall: Gauges near a point'
      description: 'River level, flow, rainfall and groundwater stations within a radius (default 10 km, max 25) of a postcode or point, nearest first. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/stations-near
      parameters:
      - name: postcode
        in: query
        required: false
        description: UK postcode (or give lat and lng)
        schema:
          type: string
          maxLength: 8
        example: OX1 1DP
      - name: lat
        in: query
        required: false
        description: Latitude
        schema:
          type: string
          maxLength: 12
      - name: lng
        in: query
        required: false
        description: Longitude
        schema:
          type: string
          maxLength: 12
      - name: type
        in: query
        required: false
        description: level | flow | rainfall | groundwater
        schema:
          type: string
          maxLength: 12
        example: flow
      - name: radius_km
        in: query
        required: false
        description: Radius in km (default 10)
        schema:
          type: integer
        example: 10
      - name: limit
        in: query
        required: false
        description: Max results (default 25)
        schema:
          type: integer
        example: 10
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__stations-near
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-rivers/search:
    get:
      operationId: uk_rivers__search
      summary: 'UK River Levels, Flow & Rainfall: Find gauges by name'
      description: 'Search hydrology stations by station or river name. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/search
      parameters:
      - name: name
        in: query
        required: true
        description: Station or river name
        schema:
          type: string
          maxLength: 60
        example: Thames
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.001000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__search
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-rivers/station:
    get:
      operationId: uk_rivers__station
      summary: 'UK River Levels, Flow & Rainfall: Gauge details'
      description: 'One station: river, location, catchment area, date opened and its measures. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/station
      parameters:
      - name: id
        in: query
        required: true
        description: Hydrology station id (from stations-near or search)
        schema:
          type: string
          maxLength: 60
        example: 839866a2-80ca-42a8-a695-8e6d6b165fa6
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.001000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__station
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-rivers/latest:
    get:
      operationId: uk_rivers__latest
      summary: 'UK River Levels, Flow & Rainfall: Latest reading'
      description: 'The latest reading for each measure of a type (level, flow, rainfall or groundwater) at a station. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/latest
      parameters:
      - name: id
        in: query
        required: true
        description: Hydrology station id (from stations-near or search)
        schema:
          type: string
          maxLength: 60
        example: 839866a2-80ca-42a8-a695-8e6d6b165fa6
      - name: type
        in: query
        required: true
        description: level | flow | rainfall | groundwater
        schema:
          type: string
          maxLength: 12
        example: level
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__latest
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-rivers/readings:
    get:
      operationId: uk_rivers__readings
      summary: 'UK River Levels, Flow & Rainfall: Recent readings'
      description: 'Recent 15-minute readings (or daily means) for one type at a station, up to 7 days, newest first. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/readings
      parameters:
      - name: id
        in: query
        required: true
        description: Hydrology station id (from stations-near or search)
        schema:
          type: string
          maxLength: 60
        example: 839866a2-80ca-42a8-a695-8e6d6b165fa6
      - name: type
        in: query
        required: true
        description: level | flow | rainfall | groundwater
        schema:
          type: string
          maxLength: 12
        example: level
      - name: days
        in: query
        required: false
        description: Days back (1–7, default 1)
        schema:
          type: integer
        example: 1
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__readings
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-rivers/rainfall-near:
    get:
      operationId: uk_rivers__rainfall_near
      summary: 'UK River Levels, Flow & Rainfall: Rainfall near a point'
      description: 'The nearest rain gauges to a postcode or point with their latest rainfall totals. Price: $0.003 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-rivers
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-rivers/rainfall-near
      parameters:
      - name: postcode
        in: query
        required: false
        description: UK postcode (or give lat and lng)
        schema:
          type: string
          maxLength: 8
        example: OX1 1DP
      - name: lat
        in: query
        required: false
        description: Latitude
        schema:
          type: string
          maxLength: 12
      - name: lng
        in: query
        required: false
        description: Longitude
        schema:
          type: string
          maxLength: 12
      - name: radius_km
        in: query
        required: false
        description: Radius in km (default 10)
        schema:
          type: integer
        example: 15
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.003000'
      x-free-tier: free
      x-mcp-tool: uk-rivers__rainfall-near
    servers:
    - url: https://fourzerotwo.si
components:
  responses:
    PaymentRequired:
      description: x402 payment required. The body (also base64 in the PAYMENT-REQUIRED header) lists accepted payments.
      headers:
        PAYMENT-REQUIRED:
          schema:
            type: string
          description: Base64 JSON x402 v2 PaymentRequired
      content:
        application/json:
          schema:
            type: object
            properties:
              x402Version:
                type: integer
              error:
                type: string
              accepts:
                type: array
                items:
                  type: object
    Error:
      description: 400 = invalid input, 404 = not found at the source, 502 = the source failed. Never charged.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              charged:
                type: boolean
  securitySchemes:
    freeKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Optional free key (fzt_…) for the free tier.
x-refined-from:
- openapi.json
- fourzerotwo-si-openapi.json