# Get Lineups

Get the list of players under a competitor

Endpoint: /v1/competitor/{competitorId}\
Method: GET

Headers:

| Name        | Description                                                     |
| ----------- | --------------------------------------------------------------- |
| x-client-id | A static client id will be assigned to you upon request.        |
| x-api-key   | We will provide you with an api key to be able to call the API. |

The payload request should contain JSON data structured according to the API specifications. Here's an example of a payload request:

```
{
    "statusCode": 100,
    "message": "Success",
    "result": {
        "competitorId": "sr:competitor:22356",
        "competitorName": "Tvaakers IF",
        "countryCode": "SWE",
        "abbreviation": "TVA",
        "players": [
            {
                "playerId": "sr:player:1498783",
                "playerName": "Petersson, Isak",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:2233306",
                "playerName": "Sjoland, Melvin",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:2144754",
                "playerName": "Nygaard, Alfons",
                "playerType": "forward"
            },
            {
                "playerId": "sr:player:2388309",
                "playerName": "Redenfors, Jacob",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1112111",
                "playerName": "Lassagard, Johan",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1872334",
                "playerName": "Van Assema, Tim",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:1430261",
                "playerName": "Bertilsson, Nils",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:2280803",
                "playerName": "Gudmundsson, Johan",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1630668",
                "playerName": "Landsten, Karl",
                "playerType": "forward"
            },
            {
                "playerId": "sr:player:181631",
                "playerName": "Olausson, Joakim",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:227896",
                "playerName": "Andersson, Johan",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:785627",
                "playerName": "Nilsson, Viktor",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:1344402",
                "playerName": "Berggren, Axel",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:962973",
                "playerName": "Nilsson, Eric",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:1413233",
                "playerName": "Svensson, Hugo",
                "playerType": "forward"
            },
            {
                "playerId": "sr:player:1623220",
                "playerName": "Lindgren, Adam",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1623158",
                "playerName": "Persson, Johan Daniel",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1623160",
                "playerName": "Nilsson, Anton",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:1736409",
                "playerName": "Adolfsson, Jakob",
                "playerType": "forward"
            },
            {
                "playerId": "sr:player:1005587",
                "playerName": "Persson, David Struski",
                "playerType": "defender"
            },
            {
                "playerId": "sr:player:2158726",
                "playerName": "Borjesson, Emanuel",
                "playerType": "forward"
            },
            {
                "playerId": "sr:player:2158728",
                "playerName": "Rydell, Vidar",
                "playerType": "midfielder"
            },
            {
                "playerId": "sr:player:1430273",
                "playerName": "Lillvik, Tim Svensson",
                "playerType": "goalkeeper"
            }
        ]
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flyingcockatoo.gitbook.io/odds-feed-documentation/odds-feed-api/get-lineups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
