---
title: "Search entities by name"
method: GET
path: "/api/search/entity/{entity}"
tags: ["Search"]
---

# Search entities by name

`GET /api/search/entity/{entity}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/search/entity/{entity}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/search/entity/:entity/get.ts> (a function with typed inputs; its response is checked against the schema)

A dynamic endpoint that searches and returns simple items for the given entity type. Supports agency, company, league, market, organization, property, scouting_group, scouting_market, user, and role entities

## Path parameters

- `entity` string, required

## Query parameters

- `SearchEntityRequest` SearchEntityRequest
  - `name` string

## Response `200`

An array with simple items.

- GenericEntity[]
  - `id` integer
  - `name` string

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
