Why im response "ja" language only?

in getClips request i just responsed “ja” (japanese) language only, why?

I would guess that the game you look up only has recent streams from japanese streamers.

So, what API call did you make?

twitch.getClips({game_id: “511224”, first:5, started_at: startedAt, ended_at: endedAt})

This looks like you are using a library.

So not sure what the library actually called.

Using the Twitch CLI I can see this is for Apex legends.

twitch api get 'clips?game_id=511224'
{
  "data": [
    {
      "broadcaster_id": "49207184",
      "broadcaster_name": "fps_shaka",
      "created_at": "2020-06-07T13:43:24Z",
      "creator_id": "195067388",
      "creator_name": "Riki156",
      "duration": 29.8,
      "embed_url": "https://clips.twitch.tv/embed?clip=ShortIntelligentKeyboardBleedPurple",
      "game_id": "511224",
      "id": "ShortIntelligentKeyboardBleedPurple",
      "language": "ja",
      "thumbnail_url": "https://clips-media-assets2.twitch.tv/38531773792-offset-12820-preview-480x272.jpg",
      "title": "【悲報】釈迦、漏らす",
      "url": "https://clips.twitch.tv/ShortIntelligentKeyboardBleedPurple",
      "video_id": "",
      "view_count": 1857016
    },
    {
      "broadcaster_id": "98615833",
      "broadcaster_name": "ottr",
      "created_at": "2019-07-25T03:48:49Z",
      "creator_id": "72466644",
      "creator_name": "baducca_",
      "duration": 37.4,
      "embed_url": "https://clips.twitch.tv/embed?clip=SmoothShinyPterodactylPupper",
      "game_id": "511224",
      "id": "SmoothShinyPterodactylPupper",
      "language": "en",
      "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7C501249871-preview-480x272.jpg",
      "title": "LOVE_FuryXD Dies!?!",
      "url": "https://clips.twitch.tv/SmoothShinyPterodactylPupper",
      "video_id": "",
      "view_count": 449426
    },
    {
      "broadcaster_id": "197886470",
      "broadcaster_name": "TwitchRivals",
      "created_at": "2019-02-12T22:13:44Z",
      "creator_id": "28863603",
      "creator_name": "anthax77",
      "duration": 34.7,
      "embed_url": "https://clips.twitch.tv/embed?clip=CogentTubularSquirrelMau5",
      "game_id": "511224",
      "id": "CogentTubularSquirrelMau5",
      "language": "en",
      "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7C398627174-preview-480x272.jpg",
      "title": "Shroud talking about the Rivals format",
      "url": "https://clips.twitch.tv/CogentTubularSquirrelMau5",
      "video_id": "379505965",
      "view_count": 324856
    },
    {
      "broadcaster_id": "219130577",
      "broadcaster_name": "toeyouup",
      "created_at": "2019-02-09T20:40:48Z",
      "creator_id": "219130577",
      "creator_name": "toeyouup",
      "duration": 28.8,
      "embed_url": "https://clips.twitch.tv/embed?clip=PluckyGiftedWaffleBuddhaBar",
      "game_id": "511224",
      "id": "PluckyGiftedWaffleBuddhaBar",
      "language": "en",
      "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7C396612218-preview-480x272.jpg",
      "title": "The 1st win...",
      "url": "https://clips.twitch.tv/PluckyGiftedWaffleBuddhaBar",
      "video_id": "",
      "view_count": 313875
    },

I am seeing a mix of languages. Note I didn’t supply a start/end times. Since I don’t know what start/end times you used.

So I would suggest that your time restraints rolled 5 clips from japanese streamers.

when I type 100 instead of first:5, I still get the same response. and yes i use node-twitch package library. and start/end times is for 1 week. so i dont know

Can you provide your actual entered times

as in node-twitch - npm ?

in actual times mixed languages are response. yes that package

Wihtout the actual entered times I can’t investigate.

So, if you did first=5 and only got 5 clips and they are all jp language.
That suggests that the first 5 clips with the specified time frames were only from jp langauge streamers.

Similar if you change from first=5 to first=100 and still only get 5 clips all for jp language then what met the filters you specified.

{
   "data": [
      {
         "id": "PlacidQuaintAlmondDancingBanana-9pdL-rhysA6f0nF3",
         "url": "https://clips.twitch.tv/PlacidQuaintAlmondDancingBanana-9pdL-rhysA6f0nF3",
         "embed_url": "https://clips.twitch.tv/embed?clip=PlacidQuaintAlmondDancingBanana-9pdL-rhysA6f0nF3",
         "broadcaster_id": "128035304",
         "broadcaster_name": "류제홍_",
         "creator_id": "137887898",
         "creator_name": "세비",
         "video_id": "1308466884",
         "game_id": "511224",
         "language": "ko",
         "title": "삼두루 피해자 시점",
         "view_count": 1964,
         "created_at": "2022-05-26T02:31:08Z",
         "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7C6vpLMPaXS_q4crAOn9Jxdw-preview-480x272.jpg",
         "duration": 43
      },
      {
         "id": "DirtyTriumphantSquirrelWholeWheat-7OMsGc55oCKIfMUh",
         "url": "https://clips.twitch.tv/DirtyTriumphantSquirrelWholeWheat-7OMsGc55oCKIfMUh",
         "embed_url": "https://clips.twitch.tv/embed?clip=DirtyTriumphantSquirrelWholeWheat-7OMsGc55oCKIfMUh",
         "broadcaster_id": "128856353",
         "broadcaster_name": "Mande",
         "creator_id": "491626924",
         "creator_name": "五條天下第一",
         "video_id": "1309407414",
         "game_id": "511224",
         "language": "en-gb",
         "title": "super idol",
         "view_count": 1677,
         "created_at": "2022-05-26T12:21:12Z",
         "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7C81n53uzjLBnOeaAiiHzFIQ-preview-480x272.jpg",
         "duration": 16.5
      },
      {
         "id": "ChillyCuriousSangEagleEye-JAiYudjLKLmMwLCG",
         "url": "https://clips.twitch.tv/ChillyCuriousSangEagleEye-JAiYudjLKLmMwLCG",
         "embed_url": "https://clips.twitch.tv/embed?clip=ChillyCuriousSangEagleEye-JAiYudjLKLmMwLCG",
         "broadcaster_id": "128035304",
         "broadcaster_name": "류제홍_",
         "creator_id": "611477814",
         "creator_name": "최__리",
         "video_id": "1308466884",
         "game_id": "511224",
         "language": "ko",
         "title": "ㅋㅋㅋㅋㅋㅋㅋ",
         "view_count": 1310,
         "created_at": "2022-05-26T04:03:25Z",
         "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7CaQclCSQImLnYyyi5jMCwhg-preview-480x272.jpg",
         "duration": 9
      },
      {
         "id": "ObservantSlickTardigradeCeilingCat-FdF0t3xH36QPVwah",
         "url": "https://clips.twitch.tv/ObservantSlickTardigradeCeilingCat-FdF0t3xH36QPVwah",
         "embed_url": "https://clips.twitch.tv/embed?clip=ObservantSlickTardigradeCeilingCat-FdF0t3xH36QPVwah",
         "broadcaster_id": "425628762",
         "broadcaster_name": "pandxrz",
         "creator_id": "208304569",
         "creator_name": "SeanTheGinge",
         "video_id": "",
         "game_id": "511224",
         "language": "en",
         "title": "heartrate pubs | !Lan !Socials !passion | FURIA",
         "view_count": 536,
         "created_at": "2022-05-26T02:21:45Z",
         "thumbnail_url": "https://clips-media-assets2.twitch.tv/46473622589-offset-2620-preview-480x272.jpg",
         "duration": 30
      },
      {
         "id": "AdorableArbitraryPartridgeMau5-c62szhkBi1LRt5Oc",
         "url": "https://clips.twitch.tv/AdorableArbitraryPartridgeMau5-c62szhkBi1LRt5Oc",
         "embed_url": "https://clips.twitch.tv/embed?clip=AdorableArbitraryPartridgeMau5-c62szhkBi1LRt5Oc",
         "broadcaster_id": "81402604",
         "broadcaster_name": "Urmuz",
         "creator_id": "81402604",
         "creator_name": "Urmuz",
         "video_id": "1308775885",
         "game_id": "511224",
         "language": "ru",
         "title": "Тот момент, когда хочешь что-то умное сделать и лажаешь :)",
         "view_count": 476,
         "created_at": "2022-05-26T07:18:57Z",
         "thumbnail_url": "https://clips-media-assets2.twitch.tv/AT-cm%7CniGLFXOtrM4ZAYtS0beTnA-preview-480x272.jpg",
         "duration": 6.4
      }
   ],
   "pagination": {
      "cursor": "eyJiIjpudWxsLCJhIjp7IkN1cnNvciI6Ik5RPT0ifX0"
   }
}

I couldn’t understand exactly what caused issue

So there no longer is an issue?

no still have,
so when i make a request in actual time, it response mixed language like “ru”, "en, “ko”, “ja”, but when i make a request at a certain time example: “in 7 day clips”, only “ja” (japanese) language response

Thats not a bug.

With the specified filters it only returns ja langauge clips.

But again I can’t check without the actual values you are entering.

okay, thanks for your helps Barry