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

# List members

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I want to make an API call to https://api.keyapi.ai/v1/twitter/list_members.

Please help me write code to make this API call and handle the response appropriately. Include error handling and best practices.

Here are the details:

Endpoint: GET https://api.keyapi.ai/v1/twitter/list_members

Description: List members

Required Headers:
--header 'Authorization: Bearer <YOUR_API_KEY>'

Parameters:
- list_id (Required): . Example: 1177128103228989440
- cursor (Optional): 

Example Response:
{
"code": 0,
"message": "success",
"data": {
"members": [
  {
    "user_id": "1231534927285493760",
    "screen_name": "Ted290723",
    "description": "Teddy - 28 ans - Ici on parle de foot mais surtout de l’OL ! Une formidable raison d’être heureux !",
    "profile_image": null,
    "statuses_count": 17714,
    "followers_count": 810,
    "friends_count": 1039,
    "media_count": 1180,
    "created_at": "Sun Feb 23 11:03:11 +0000 2020",
    "location": "Eure-et-Loir, Centre",
    "blue_verified": false,
    "verified": false,
    "website": null,
    "name": "Ted",
    "affiliates": [],
    "business_account": null
  },
  {
    "user_id": "1118448192482414593",
    "screen_name": "OLMLNINO",
    "description": "Un gone passionné de ballon et surtout de l’@OL Membre de la #TeamOL 🐐 Suiveur de @LDLCAsvel et @LeLOUrugby #TeamParieurs JA Morant fan account",
    "profile_image": null,
    "statuses_count": 16467,
    "followers_count": 1129,
    "friends_count": 411,
    "media_count": 606,
    "created_at": "Wed Apr 17 09:36:43 +0000 2019",
    "location": "",
    "blue_verified": false,
    "verified": false,
    "website": null,
    "name": "1LyonnaisDansLaVille",
    "affiliates": [],
    "business_account": null
  },
  {
    "user_id": "1111962841542811648",
    "screen_name": "OL_OutofContext",
    "description": "Vive le Vent vive le vent vive le vendredi, le mardi on est mauvais le samedi aussi",
    "profile_image": null,
    "statuses_count": 1279,
    "followers_count": 20717,
    "friends_count": 4,
    "media_count": 932,
    "created_at": "Sat Mar 30 12:06:15 +0000 2019",
    "location": "Ruche n°69",
    "blue_verified": false,
    "verified": false,
    "website": null,
    "name": "Out Of Context Olympique Lyonnais ",
    "affiliates": [
... (truncated)`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml en/twitter.openapi.json GET /v1/twitter/list_members
openapi: 3.0.1
info:
  title: Twitter/X API english documentation
  description: >-
    The english reference documentation of the Twitter/X API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Twitter/X
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/twitter/list_members:
    get:
      tags: []
      summary: List members
      parameters:
        - name: list_id
          in: query
          description: ''
          required: true
          example: '1177128103228989440'
          schema:
            type: string
            example: '1177128103228989440'
        - name: cursor
          in: query
          description: ''
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  members:
                    - user_id: '1231534927285493760'
                      screen_name: Ted290723
                      description: >-
                        Teddy - 28 ans - Ici on parle de foot mais surtout de
                        l’OL ! Une formidable raison d’être heureux !
                      profile_image: null
                      statuses_count: 17714
                      followers_count: 810
                      friends_count: 1039
                      media_count: 1180
                      created_at: Sun Feb 23 11:03:11 +0000 2020
                      location: Eure-et-Loir, Centre
                      blue_verified: false
                      verified: false
                      website: null
                      name: Ted
                      affiliates: []
                      business_account: null
                    - user_id: '1118448192482414593'
                      screen_name: OLMLNINO
                      description: >-
                        Un gone passionné de ballon et surtout de l’@OL Membre
                        de la #TeamOL 🐐 Suiveur de @LDLCAsvel et @LeLOUrugby
                        #TeamParieurs JA Morant fan account
                      profile_image: null
                      statuses_count: 16467
                      followers_count: 1129
                      friends_count: 411
                      media_count: 606
                      created_at: Wed Apr 17 09:36:43 +0000 2019
                      location: ''
                      blue_verified: false
                      verified: false
                      website: null
                      name: 1LyonnaisDansLaVille
                      affiliates: []
                      business_account: null
                    - user_id: '1111962841542811648'
                      screen_name: OL_OutofContext
                      description: >-
                        Vive le Vent vive le vent vive le vendredi, le mardi on
                        est mauvais le samedi aussi
                      profile_image: null
                      statuses_count: 1279
                      followers_count: 20717
                      friends_count: 4
                      media_count: 932
                      created_at: Sat Mar 30 12:06:15 +0000 2019
                      location: Ruche n°69
                      blue_verified: false
                      verified: false
                      website: null
                      name: Out Of Context Olympique Lyonnais 
                      affiliates: []
                      business_account: null
                    - user_id: '1049368689802469377'
                      screen_name: Actugones
                      description: >-
                        Toute l'actu de l'Olympique Lyonnais
                        actugonesmedia@gmail.com
                      profile_image: null
                      statuses_count: 10419
                      followers_count: 21032
                      friends_count: 194
                      media_count: 4799
                      created_at: Mon Oct 08 18:39:26 +0000 2018
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: https://www.youtube.com/channel/UCBAOSzrVENOngBgNVJugkSA
                      name: ActuGones
                      affiliates: []
                      business_account: null
                    - user_id: '1047892120051310594'
                      screen_name: OL__Plus
                      description: >-
                        Depuis le 11/08/2000, revue de presse permanente et
                        indépendante autour de l'@OL. 

                        ♀️:@fenottes

                        Tous nos réseaux sociaux : https://t.co/xYwhDCWrfZ
                      profile_image: null
                      statuses_count: 96113
                      followers_count: 73207
                      friends_count: 82
                      media_count: 55648
                      created_at: Thu Oct 04 16:52:05 +0000 2018
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: https://olplus.fr
                      name: OL+
                      affiliates: []
                      business_account: null
                    - user_id: '1025897298784669701'
                      screen_name: LavoixdesGones
                      description: Compte retweetant les infos qu’il juge utile
                      profile_image: null
                      statuses_count: 12523
                      followers_count: 9048
                      friends_count: 340
                      media_count: 3338
                      created_at: Sun Aug 05 00:12:31 +0000 2018
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: null
                      name: Le reposte Lyonnais 🦁
                      affiliates: []
                      business_account: null
                    - user_id: '1006265559477080064'
                      screen_name: journalistemas
                      description: Suiveur du formidable OL de Fabio Santos.
                      profile_image: null
                      statuses_count: 6712
                      followers_count: 10005
                      friends_count: 507
                      media_count: 260
                      created_at: Mon Jun 11 20:02:59 +0000 2018
                      location: France
                      blue_verified: false
                      verified: false
                      website: null
                      name: Masqué
                      affiliates: []
                      business_account: null
                    - user_id: '910782196671270917'
                      screen_name: OLmemes
                      description: Fub
                      profile_image: null
                      statuses_count: 1238
                      followers_count: 7897
                      friends_count: 11
                      media_count: 751
                      created_at: Thu Sep 21 08:26:11 +0000 2017
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: http://pixelcanvas.io/@2102,1432
                      name: OL Memes
                      affiliates: []
                      business_account: null
                    - user_id: '868449059106848768'
                      screen_name: OnlyGones
                      description: >-
                        Toute l'actualité de l’Olympique Lyonnais est à suivre
                        sur Only Gones.
                      profile_image: null
                      statuses_count: 3952
                      followers_count: 28150
                      friends_count: 48
                      media_count: 3080
                      created_at: Sat May 27 12:49:25 +0000 2017
                      location: Lyon
                      blue_verified: false
                      verified: false
                      website: null
                      name: Only Gones
                      affiliates: []
                      business_account: null
                    - user_id: '828391212839219206'
                      screen_name: CafeCommerceOL
                      description: >-
                        Média numérique sur l'Olympique Lyonnais (@OL), fans
                        #TeamOL d'une mauvaise foi olympienne. Téléchargez notre
                        app mobile📱 https://t.co/coFLiH32VM
                      profile_image: null
                      statuses_count: 14895
                      followers_count: 44013
                      friends_count: 1083
                      media_count: 5463
                      created_at: Sun Feb 05 23:53:50 +0000 2017
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: https://commerce.cafe
                      name: Café du Commerce OL
                      affiliates: []
                      business_account: null
                    - user_id: '758392333477871616'
                      screen_name: QPVArsene
                      description: 'L''humour dans le football, c''est ici. ⚽ #Oui.'
                      profile_image: null
                      statuses_count: 11286
                      followers_count: 56359
                      friends_count: 331
                      media_count: 6259
                      created_at: Wed Jul 27 20:03:17 +0000 2016
                      location: France
                      blue_verified: true
                      verified: false
                      website: http://www.instagram.com/qpvarsene
                      name: Qu'en pensez-vous Arsène ?
                      affiliates: []
                      business_account: null
                    - user_id: '757199396916326401'
                      screen_name: goneninho
                      description: >-
                        Bring me back sous l’ère Rémi Garde. You’re just a small
                        town in Lyon. 🇬🇷
                      profile_image: null
                      statuses_count: 66375
                      followers_count: 556
                      friends_count: 439
                      media_count: 2378
                      created_at: Sun Jul 24 13:02:59 +0000 2016
                      location: 'Le Formidable Outil '
                      blue_verified: false
                      verified: false
                      website: null
                      name: Kenny Tacles
                      affiliates: []
                      business_account: null
                    - user_id: '722445977882337280'
                      screen_name: lulcere
                      description: >-
                        La vie n'est pas toujours Verte, il faut bien rigoler
                        😀.
                         Fan du King @ericris8442
                      profile_image: null
                      statuses_count: 48686
                      followers_count: 4437
                      friends_count: 2469
                      media_count: 5320
                      created_at: Tue Apr 19 15:25:18 +0000 2016
                      location: Beaucoup trop loin de Sainté !
                      blue_verified: false
                      verified: false
                      website: https://www.youtube.com/channel/UCURPuxwp3a1d1u0A6dTXQUw
                      name: 𝑓𝑟𝑎𝑛6💭
                      affiliates: []
                      business_account: null
                    - user_id: '4925810453'
                      screen_name: Vicos___
                      description: ''
                      profile_image: null
                      statuses_count: 114795
                      followers_count: 7505
                      friends_count: 21
                      media_count: 2689
                      created_at: Wed Feb 17 23:58:32 +0000 2016
                      location: ''
                      blue_verified: false
                      verified: false
                      website: null
                      name: .
                      affiliates: []
                      business_account: null
                    - user_id: '4877776109'
                      screen_name: SuperCazarre
                      description: >-
                        🚨 Compte d’un anonyme n’étant relié à aucune
                        personnalité publique 🚨 Ma neutralité fait ma force📧
                        thesuperofficiel@gmail.com https://t.co/Kp2hOhPeB3
                      profile_image: null
                      statuses_count: 8001
                      followers_count: 368739
                      friends_count: 3599
                      media_count: 2707
                      created_at: Fri Feb 05 13:18:24 +0000 2016
                      location: ''
                      blue_verified: true
                      verified: false
                      website: https://www.instagram.com/super_officiel/
                      name: SUPER 🦸🏻‍♂️
                      affiliates: []
                      business_account: null
                    - user_id: '3241401544'
                      screen_name: Gone_Academie
                      description: >-
                        Tout sur le centre de formation de l'Olympique lyonnais
                        6⃣9⃣ 🦁
                      profile_image: null
                      statuses_count: 14444
                      followers_count: 16288
                      friends_count: 346
                      media_count: 1520
                      created_at: Fri May 08 02:09:05 +0000 2015
                      location: Lyon
                      blue_verified: false
                      verified: false
                      website: https://linktr.ee/goneacademie
                      name: Lyon Academy Talents
                      affiliates: []
                      business_account: null
                    - user_id: '2980449191'
                      screen_name: Coeur_de_Gone
                      description: >-
                        Avec passion, célébrons ensemble notre ville et notre
                        blason 🦁 Allez les Gones, Allez l’OL !
                      profile_image: null
                      statuses_count: 22146
                      followers_count: 12623
                      friends_count: 542
                      media_count: 6132
                      created_at: Thu Jan 15 21:57:25 +0000 2015
                      location: Lyon
                      blue_verified: false
                      verified: false
                      website: null
                      name: Cœur de Gone 🦁🔴🔵
                      affiliates: []
                      business_account: null
                    - user_id: '2867054996'
                      screen_name: TheSpecialistOL
                      description: >-
                        un peu de Romain Bardet et beaucoup d’OL ou bien le
                        contraire
                      profile_image: null
                      statuses_count: 90543
                      followers_count: 5731
                      friends_count: 802
                      media_count: 9412
                      created_at: Mon Oct 20 12:07:12 +0000 2014
                      location: Paris
                      blue_verified: false
                      verified: false
                      website: null
                      name: Gary
                      affiliates: []
                      business_account: null
                    - user_id: '2483490758'
                      screen_name: SocialGones
                      description: >-
                        Relais et source d'information au quotidien sur la
                        #TeamOL. Passé par Cayenne du 02/12/20 au 31/07/22.
                        contact@socialgones.com
                      profile_image: null
                      statuses_count: 18834
                      followers_count: 21201
                      friends_count: 256
                      media_count: 10310
                      created_at: Thu May 08 10:16:48 +0000 2014
                      location: Lyon, France
                      blue_verified: false
                      verified: false
                      website: null
                      name: Social Gones
                      affiliates: []
                      business_account: null
                    - user_id: '1746537704'
                      screen_name: YonEcenarro
                      description: >-
                        Parle Foot. Ex: @ici_gironde , @radiofrance,
                        @YahooSportFR .


                        📧: y.ecenarro@gmail.com
                      profile_image: null
                      statuses_count: 67113
                      followers_count: 46769
                      friends_count: 631
                      media_count: 16050
                      created_at: Sat Sep 07 12:24:20 +0000 2013
                      location: Tout en bas à gauche
                      blue_verified: false
                      verified: false
                      website: https://www.instagram.com/yecenarro/
                      name: Yon Ecenarro
                      affiliates: []
                      business_account: null
                  next_cursor: 4611686020173925608|2054445683271794666
                  status: ok
                  more_users: true
                requestId: 3d5f8af8-40d0-4f21-a12c-dc7d2a32bc63
          headers: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: Missing required parameter
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/twitter/list_members?list_id=1177128103228989440' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/twitter/list_members',
                params={"list_id": "1177128103228989440"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"list_id":
            "1177128103228989440"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/twitter/list_members?${params}`, {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````