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

# Encuentra el ID de tu categoría

> Todas las llamadas a informes requieren un category_id. Así puedes consultarlo mediante programación.

Todos los endpoints de informes (`/v1/reports/visibility`, `/v1/reports/citations`,
`/v1/reports/sentiment`) requieren un `category_id`. Lista las categorías
que tu clave puede ver y elige la correcta.

## Cómo funciona este ejemplo

1. **Una sola llamada lo lista todo.** Sin filtros ni paginación.
2. **Busca por nombre** si sabes lo que buscas, o imprímelas todas
   si no lo sabes.

<RequestExample>
  ```python Python theme={null}
  import os
  from profound import Profound

  client = Profound(api_key=os.environ["PROFOUND_API_KEY"])

  categories = client.organizations.categories.list()

  # Print every category your key can see.
  for c in categories:
      print(f"{c.id}  {c.name}")

  # Or: find one by name.
  TARGET = "<your-category-name>"
  match = next((c for c in categories if c.name == TARGET), None)
  if match:
      print(f"\nFound Category '{TARGET}': {match.id}")
  ```

  ```bash curl theme={null}
  export PROFOUND_API_KEY=your_api_key_here

  curl "https://api.tryprofound.com/v1/org/categories" \
    -H "X-API-Key: $PROFOUND_API_KEY"
  ```
</RequestExample>
