RealYield Data API

Area yields and the site's content index, as JSON.

GitHub OpenAPI

Operations 4

GET /api/locations Average rental yields by area #
GET /api/net-yield-index Net Yield Index #
GET /api/search Site content index #
GET /api/health Health check #

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/realyield-co-uk:realyield-co-uk-data-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

realyield-co-uk-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RealYield Data API
  version: 1.0.0
  summary: UK buy-to-let yields, the Net Yield Index and RealYield's calculators, for agents and developers.
  description: Free, read-only and keyless, apart from Deal Check on the MCP server. Rents and prices are official ONS and HM Land Registry data, used under the Open Government Licence v3.0. Yields are before tax. Figures are educational, not financial advice.
  termsOfService: https://www.realyield.co.uk/terms
  contact:
    name: RealYield
    url: https://www.realyield.co.uk/contact
servers:
- url: https://www.realyield.co.uk
tags:
- name: Data
  description: Area yields and the site's content index, as JSON.
paths:
  /api/locations:
    get:
      operationId: listAreaYields
      summary: Average rental yields by area
      description: Average private rent, average property price and gross rental yield for every local authority in England and Wales that has both figures. Rents come from the ONS Price Index of Private Rents and prices from the HM Land Registry UK House Price Index, refreshed monthly. Yields are before tax.
      tags:
      - Data
      security: []
      responses:
        '200':
          description: Average rental yields by area
          headers:
            Cache-Control:
              description: Cached for up to an hour; the data changes at most monthly.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                - rentSource
                - priceSource
                - rentMonth
                - priceMonth
                - locations
                properties:
                  rentSource:
                    type: string
                  priceSource:
                    type: string
                  rentMonth:
                    type: string
                    pattern: ^\d{4}-\d{2}$
                    description: Month the figure is for, YYYY-MM.
                  priceMonth:
                    type: string
                    pattern: ^\d{4}-\d{2}$
                    description: Month the figure is for, YYYY-MM.
                  locations:
                    type: array
                    items:
                      type: object
                      required:
                      - slug
                      - name
                      - rent
                      - price
                      - grossYield
                      - yieldRank
                      properties:
                        slug:
                          type: string
                          description: 'Area page: /rental-yields/{slug}.'
                        name:
                          type: string
                        region:
                          type:
                          - string
                          - 'null'
                        rent:
                          type: number
                          description: Average monthly rent, £.
                        price:
                          type: number
                          description: Average price, £.
                        grossYield:
                          type: number
                          description: Gross yield, % a year.
                        flatYield:
                          type:
                          - number
                          - 'null'
                          description: Gross yield on the average flat, %.
                        rentGrowth12m:
                          type:
                          - number
                          - 'null'
                          description: Rent change over 12 months, %.
                        priceGrowth12m:
                          type:
                          - number
                          - 'null'
                          description: Price change over 12 months, %.
                        yieldRank:
                          type: integer
                          description: 1 is the highest gross yield nationally.
  /api/net-yield-index:
    get:
      operationId: getNetYieldIndex
      summary: Net Yield Index
      description: Every area's yield after letting fees, repairs and an empty month, its monthly cashflow on a standard mortgage, and the mortgage rate at which rent stops covering costs, with regional medians and the assumptions used. The same figures as /rental-yields/net-yield-index. Before tax.
      tags:
      - Data
      security: []
      responses:
        '200':
          description: Net Yield Index
          headers:
            Cache-Control:
              description: Cached for up to an hour; the data changes at most monthly.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                - assumptions
                - rentMonth
                - priceMonth
                - rows
                properties:
                  assumptions:
                    type: object
                    description: Deposit %, mortgage rate %, letting fee %, repairs %, empty months a year and the rest.
                    additionalProperties: true
                  rentMonth:
                    type: string
                    pattern: ^\d{4}-\d{2}$
                    description: Month the figure is for, YYYY-MM.
                  priceMonth:
                    type: string
                    pattern: ^\d{4}-\d{2}$
                    description: Month the figure is for, YYYY-MM.
                  generated:
                    type: string
                    format: date
                    description: Date the dataset was built, YYYY-MM-DD.
                  areas:
                    type: integer
                  medianGrossYieldPct:
                    type: number
                  medianNetYieldPct:
                    type: number
                  netShareOfGrossPct:
                    type: number
                  medianBreakEvenRatePct:
                    type: number
                  cashflowPositive:
                    type: integer
                    description: Areas where rent covers costs and interest at the default rate.
                  coverageByRate:
                    type: array
                    items:
                      type: object
                      properties:
                        ratePct:
                          type: number
                        cashflowPositive:
                          type: integer
                  regions:
                    type: array
                    items:
                      type: object
                      properties:
                        region:
                          type: string
                        areas:
                          type: integer
                        medianNetYieldPct:
                          type: number
                        cashflowPositive:
                          type: integer
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        slug:
                          type: string
                        name:
                          type: string
                        region:
                          type:
                          - string
                          - 'null'
                        price:
                          type: number
                        rent:
                          type: number
                        grossYieldPct:
                          type: number
                        netYieldPct:
                          type: number
                        monthlyCashflow:
                          type: number
                          description: £ a month before tax.
                        coversMortgage:
                          type: boolean
                        breakEvenRatePct:
                          type:
                          - number
                          - 'null'
                        netRank:
                          type: integer
  /api/search:
    get:
      operationId: listSiteContent
      summary: Site content index
      description: Every calculator, article, glossary term and template on the site, with a one-line description and its path. Filter it yourself; it is the index behind the site search.
      tags:
      - Data
      security: []
      responses:
        '200':
          description: Site content index
          headers:
            Cache-Control:
              description: Cached for up to an hour; the data changes at most monthly.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required:
                  - type
                  - title
                  - href
                  properties:
                    type:
                      type: string
                      enum:
                      - tool
                      - article
                      - glossary
                      - template
                    title:
                      type: string
                    description:
                      type: string
                    href:
                      type: string
                      description: Path on www.realyield.co.uk.
                    category:
                      type: string
  /api/health:
    get:
      operationId: getHealth
      summary: Health check
      description: Answers while the site is serving. Use it as the status endpoint for the APIs above.
      tags:
      - Data
      security: []
      responses:
        '200':
          description: Health check
          headers:
            Cache-Control:
              description: Cached for up to an hour; the data changes at most monthly.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                properties:
                  status:
                    type: string
                    enum:
                    - healthy
                  timestamp:
                    type: string
                    format: date-time
components:
  securitySchemes:
    mcpOAuth:
      type: oauth2
      description: 'OAuth 2.1 with PKCE (S256) through RealYield''s Clerk sign-in, registering by Client ID Metadata Document. Find the authorization server from https://www.realyield.co.uk/.well-known/oauth-protected-resource/mcp. Details: https://www.realyield.co.uk/auth.md. Clerk publishes the full metadata at https://clerk.realyield.co.uk/.well-known/oauth-authorization-server.'
      flows:
        authorizationCode:
          authorizationUrl: https://clerk.realyield.co.uk/oauth/authorize
          tokenUrl: https://clerk.realyield.co.uk/oauth/token
          refreshUrl: https://clerk.realyield.co.uk/oauth/token
          scopes:
            profile: Your RealYield account identity, used for rate limiting only.
externalDocs:
  description: Developer guide
  url: https://www.realyield.co.uk/developers