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

# Get a single SDG

> Retrieve a single Sustainable Development Goal by its ID (1-17).



## OpenAPI

````yaml /api-reference/openapi.json get /sdgs/{id}
openapi: 3.1.0
info:
  title: OpenAlex API
  description: >-
    The OpenAlex API provides access to a comprehensive catalog of scholarly
    works, authors, sources, institutions, topics, keywords, publishers, and
    funders. OpenAlex indexes over 250 million scholarly works.
  version: 1.0.0
  contact:
    name: OpenAlex Support
    email: support@openalex.org
    url: https://openalex.org
  license:
    name: CC0
    url: https://creativecommons.org/publicdomain/zero/1.0/
servers:
  - url: https://api.openalex.org
    description: OpenAlex Production API
security:
  - apiKey: []
tags:
  - name: Works
    description: Scholarly documents like journal articles, books, datasets, and theses
  - name: Authors
    description: People who create scholarly works
  - name: Sources
    description: Journals, repositories, and other venues where works are hosted
  - name: Institutions
    description: Universities, research organizations, and other affiliations
  - name: Topics
    description: Research topics automatically assigned to works
  - name: Keywords
    description: Short phrases identified from works' topics
  - name: Publishers
    description: Companies and organizations that publish scholarly works
  - name: Funders
    description: Organizations that fund research
  - name: Autocomplete
    description: Fast typeahead search for any entity type
  - name: Domains
    description: Top-level categories in the topic hierarchy (4 total)
  - name: Fields
    description: Second-level categories in the topic hierarchy (26 total)
  - name: Subfields
    description: Third-level categories in the topic hierarchy (254 total)
  - name: SDGs
    description: UN Sustainable Development Goals (17 total)
  - name: Countries
    description: Geographic countries for filtering research by location
  - name: Continents
    description: Geographic continents (7 total)
  - name: Languages
    description: Languages of scholarly works
  - name: Awards
    description: Research grants and funding awards
  - name: Concepts
    description: Legacy taxonomy of research areas (deprecated - use Topics instead)
  - name: Work Types
    description: Types of scholarly works (article, book, dataset, etc.)
  - name: Source Types
    description: Types of sources (journal, repository, conference, etc.)
  - name: Institution Types
    description: Types of institutions (education, healthcare, company, etc.)
  - name: Licenses
    description: Open access licenses (CC BY, CC BY-SA, etc.)
paths:
  /sdgs/{id}:
    get:
      tags:
        - SDGs
      summary: Get a single SDG
      description: Retrieve a single Sustainable Development Goal by its ID (1-17).
      operationId: getSdg
      parameters:
        - name: id
          in: path
          required: true
          description: SDG ID (1-17)
          schema:
            type: string
          examples:
            health:
              value: '3'
              summary: Good Health and Well-being
            climate:
              value: '13'
              summary: Climate Action
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/api_key'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Sdg'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    select:
      name: select
      in: query
      description: >-
        Comma-separated list of fields to return. Reduces response size.
        Example: `select=id,display_name,cited_by_count`
      schema:
        type: string
    api_key:
      name: api_key
      in: query
      description: >-
        Your OpenAlex API key (required). Get a free key at
        https://openalex.org/settings/api
      required: true
      schema:
        type: string
  schemas:
    Sdg:
      type: object
      description: UN Sustainable Development Goal (17 total)
      properties:
        id:
          type: string
          example: https://openalex.org/sdgs/3
          description: The OpenAlex ID for this SDG.
        display_name:
          type: string
          description: The name of the SDG.
        description:
          type: string
          description: The official UN description of this goal.
        ids:
          type: object
          properties:
            openalex:
              type: string
            un:
              type: string
            wikidata:
              type: string
          description: 'External identifiers:'
        works_count:
          type: integer
          description: The number of works tagged with this SDG.
        cited_by_count:
          type: integer
          description: Total citations to works tagged with this SDG.
        image_url:
          type: string
          description: URL to the official SDG icon image.
        image_thumbnail_url:
          type: string
          description: Smaller version of `image_url`.
        works_api_url:
          type: string
          description: A URL that returns all works tagged with this SDG.
        created_date:
          type: string
          format: date
          description: When this SDG was added to OpenAlex (ISO 8601 date).
        updated_date:
          type: string
          format: date-time
          description: When this SDG was last updated (ISO 8601 datetime).
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error type
        message:
          type: string
          description: Human-readable error message
  responses:
    NotFound:
      description: Entity not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: api_key
      description: >-
        Your OpenAlex API key. Get a free key at
        https://openalex.org/settings/api

````