---
updatedAt: 2026-08-24T09:14:57.000Z
agentTools:
  projectIndex: https://developers.vibe.co/llms.txt
---

# List targetable age ranges

Returns all age ranges available for strategy targeting.
**Scopes:**
`campaigns:read`
<br>*Rate limits*:<br>Burst: `20/s`<br>Steady: `600/m`


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/segments/ages": {
      "get": {
        "description": "Returns all age ranges available for strategy targeting.\n**Scopes:**\n`campaigns:read`\n<br>*Rate limits*:<br>Burst: `20/s`<br>Steady: `600/m`\n",
        "operationId": "listAgeRanges",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Age range list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgeRangeList"
                }
              }
            }
          },
          "400": {
            "description": "Bad request error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "missingApiKey": {
                    "summary": "Missing API key",
                    "value": {
                      "error": {
                        "type": "validation",
                        "message": "Missing API Key",
                        "status": 400,
                        "detail": null,
                        "request_id": "req_8f3a4b2c",
                        "doc_url": null
                      }
                    }
                  },
                  "validationError": {
                    "summary": "Validation error",
                    "value": {
                      "error": {
                        "type": "validation",
                        "message": "Validation error",
                        "status": 400,
                        "detail": {
                          "validation": [
                            "id must be a string"
                          ]
                        },
                        "request_id": "req_8f3a4b2c",
                        "doc_url": null
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "invalidApiKey": {
                    "summary": "Invalid API key",
                    "value": {
                      "error": {
                        "type": "invalid_token",
                        "message": "Unauthorized",
                        "status": 401,
                        "detail": null,
                        "request_id": "req_8f3a4b2c",
                        "doc_url": "https://developers.vibe.co/errors/invalid-token"
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Insufficient scope error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "insufficientScope": {
                    "summary": "Missing required scope",
                    "value": {
                      "error": {
                        "type": "insufficient_scope",
                        "message": "Missing required scope",
                        "status": 403,
                        "detail": {
                          "required": "campaigns:read",
                          "granted": [
                            "test"
                          ]
                        },
                        "request_id": "req_8f3a4b2c",
                        "doc_url": "https://developers.vibe.co/reference/oauth2token"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List targetable age ranges",
        "tags": [
          "Reference Data"
        ],
        "x-rate-limit": {
          "rps": 20,
          "rpm": 600
        },
        "x-scopes": [
          "campaigns:read"
        ]
      }
    }
  },
  "info": {
    "title": "Vibe Public API",
    "description": "Vibe Public API revision 2026-06-01",
    "version": "2026-06-01",
    "contact": {}
  },
  "tags": [
    {
      "name": "Reference Data",
      "description": "Read-only catalogs you'll query while building a Strategy's `targeting` object: the apps, channels, and live sports inventory available to target, and the audience interest segments Vibe can match. The catalogs reflect Vibe's current inventory and audience taxonomies.\n\n> 💡 **Developer note**\n>\n> Catalogs update on a weekly cadence. Cache responses for at least 24 hours — partners that re-query on every campaign creation hit unnecessary rate-limit pressure."
    }
  ],
  "servers": [
    {
      "url": "https://api.vibe.co",
      "description": "Production API"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "required": {
            "type": "string",
            "example": "audiences:write"
          },
          "granted": {
            "example": [
              "audiences:read",
              "reporting:read"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "required",
          "granted"
        ]
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "insufficient_scope",
              "invalid_token",
              "validation",
              "internal_error"
            ]
          },
          "message": {
            "type": "string"
          },
          "status": {
            "type": "number",
            "example": 403
          },
          "detail": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ErrorDetail"
              }
            ]
          },
          "request_id": {
            "type": "string",
            "example": "req_8f3a4b2c"
          },
          "doc_url": {
            "type": "string",
            "example": "https://developers.vibe.co/reference/oauth2token",
            "nullable": true
          }
        },
        "required": [
          "type",
          "message",
          "status",
          "request_id"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ApiError"
          }
        },
        "required": [
          "error"
        ]
      },
      "AgeRange": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Age range identifier",
            "enum": [
              "RANGE_18_20",
              "RANGE_21_24",
              "RANGE_25_34",
              "RANGE_35_44",
              "RANGE_45_54",
              "RANGE_55_64",
              "RANGE_65_MORE"
            ]
          },
          "name": {
            "type": "string",
            "description": "Age range display name (e.g. \"18–20\", \"65+\")"
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "AgeRangeList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgeRange"
            }
          }
        },
        "required": [
          "data"
        ]
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ]
}
```