# Query for words in title

**URL:** <https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719>\
**Category:** API\
**Created:** [July 5, 2015, 4:19pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719 "2015-07-05T16:19:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolxanax](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lolxanax](https://staging-discuss.dev.twitch.com/u/lolxanax)\
**Post date:** [July 5, 2015, 4:19pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/1 "2015-07-05T16:19:08Z")

</div>

For people that like to put “24 hour stream” in their topic, is there a way to narrow down searches that will result in only showing streams that have that text in the title?

Example: [https://api.twitch.tv/kraken/streams?game=Counter-Strike%3A%20Global%20Offensive&limit=10&status=24%20hour](https://api.twitch.tv/kraken/streams?game=Counter-Strike%3A%20Global%20Offensive&limit=10&status=24%20hour)

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [July 5, 2015, 4:50pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/2 "2015-07-05T16:50:46Z")

</div>

You could try `/search/streams`.

---

<div class="post-metadata">

**Author:** ![lolxanax](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lolxanax](https://staging-discuss.dev.twitch.com/u/lolxanax)\
**Post date:** [July 5, 2015, 7:38pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/3 "2015-07-05T19:38:50Z")

</div>

Didn’t work either.

---

<div class="post-metadata">

**Author:** ![george](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/george/32/120_2.png) [@george](https://staging-discuss.dev.twitch.com/u/george)\
**Post date:** [July 5, 2015, 8:03pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/4 "2015-07-05T20:03:23Z")

</div>

[https://api.twitch.tv/kraken/search/streams?query=24%20hour](https://api.twitch.tv/kraken/search/streams?query=24%20hour)  
[https://api.twitch.tv/kraken/search/streams?query=24hr](https://api.twitch.tv/kraken/search/streams?query=24hr)

---

<div class="post-metadata">

**Author:** ![lolxanax](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lolxanax](https://staging-discuss.dev.twitch.com/u/lolxanax)\
**Post date:** [July 5, 2015, 9:56pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/5 "2015-07-05T21:56:23Z")

</div>

You know what. That works. I had to figure out how to make sure I only pulled certain specific games, but it seems to work. Thanks

---

<div class="post-metadata">

**Author:** ![lolxanax](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lolxanax](https://staging-discuss.dev.twitch.com/u/lolxanax)\
**Post date:** [July 5, 2015, 10:03pm UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/6 "2015-07-05T22:03:16Z")

</div>

Oops, I was wrong, I haven’t been able to narrow down a specific game…

---

<div class="post-metadata">

**Author:** ![night](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/night/32/1613_2.png) [@night](https://staging-discuss.dev.twitch.com/u/night)\
**Post date:** [July 8, 2015, 12:02am UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/7 "2015-07-08T00:02:35Z")

</div>

You would need to filter the search results locally if you want to limit to a game.

---

<div class="post-metadata">

**Author:** ![lolxanax](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lolxanax](https://staging-discuss.dev.twitch.com/u/lolxanax)\
**Post date:** [July 8, 2015, 2:34am UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/8 "2015-07-08T02:34:06Z")

</div>

Yeah, thanks, that’s what I ended up doing.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [August 7, 2015, 2:34am UTC](https://staging-discuss.dev.twitch.com/t/query-for-words-in-title/2719/9 "2015-08-07T02:34:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
