Search in JSON api url with ajax <p>I have an api URL it's output JSON, it is about daily deals like groupon.</p> <p>I want to create a search form and client search in this json</p> <p>Samle json url <a href="http://api.firsatbufirsat.com/deal/browse.html?apiKey=VN43ZG2LLHKHHIU6&amp;publisherId=316" rel="nofollow">here</a></p> <p>I'm decode JSON like that and show it but how to search in this api url i don't know.</p> <pre><code>$param = array( 'apiKey' =&gt; 'VN43ZG2LLHKHHIU6', 'publisherId' =&gt; 316, //'isPopular' =&gt; 'on', 'p' =&gt; $sayfasi, 'itemInPage' =&gt; $sayi ); if(isset($tagid) &amp;&amp; $tagid !='') $param['tagIds[]'] = $tagid; if(isset($cityId) &amp;&amp; $cityId !='') $param['cityId'] = $cityId; $jsonurl = 'http://api.myaffwebsiteurl.com/deal/browse.html?'.http_build_query($param); //$json = CurlConnect($jsonurl $json = file_get_contents($jsonurl); $json_output = json_decode($json); </code></pre> <p>Search form should search in deals: title, description</p> <p>Sample deals json block</p> <pre><code>"deals":[ { "id":"1041296", "title":"Tüm Cinemaximum'larda İndirimli Sinema Biletleri 9.50 TL'den Başlayan Fiyatlarla!", "description":"Cinemaximum İndirimli Bilet Fırsatı\r\nCinemaximum'larda indirimli bilet fırsatını kaçırmayın. ", "howToUse":null, "endDate":"2015-12-26 23:59:59", "discountPercent":"41", "country":"Turkey", "businessIds":"", "latLngs":"", "city":"", "provider":"Fırsat Bu Fırsat", "realPriceWithSymbol":"16 TL", "dealPriceWithSymbol":"9.50 TL", "showDealUrl":"http://www.firsatbufirsat.com/firsat/tum-cinemaximumlarda-indirimli-sinema-biletleri?pid=316", "buyDealUrl":"http://www.firsatbufirsat.com/satin-al/1041296/tum-cinemaximumlarda-indirimli-sinema-biletleri.html?pid=316", "image200_H":"http://img1.mekan.com/files/images/deal/image/200_H/104/1041296_b9ef.jpg?r=2", "timeLeft":43377 },... </code></pre>