Yahoo! Inline Items API

When a Yahoo search contains inline item carousels or grids (e.g. TikTok videos, Pinterest pins, and other card-based blocks), they are parsed into the inline_items array in the JSON output. Each block contains a title and an array of items. Each item can contain position, title, link, thumbnail, source, snippet, date, views, and extracted_views.


The API endpoint is https://serpapi.com/search?engine=yahoo

Head to the playground for a live and interactive demo.

API Examples

Results for: croissant

Results for: croissant

JSON Example

{
  ...
  "inline_items": [
    {
      "title": "Croissant - Yahoo Recipe Search",
      "items": [
        {
          "position": 1,
          "link": "https://www.foodandwine.com/recipes/croissants",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/K4tSOHh.G0vocwooSVte5g--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xNTIuNTt3PTI0Ny41/https://s.yimg.com/am/60d/f65629592f080bd3f099cd4d6c20865e",
          "title": "Croissants",
          "source": "Food and Wine",
          "snippet": "Food & Wine’s croissant recipe can be made up to 30 days ahead of time."
        },
        {
          "position": 2,
          "link": "https://www.foodnetwork.com/recipes/croissant-recipe-1939257",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/o5l_gcgvjimE8X_J9SQJew--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xNTIuNTt3PTI0Ny41/https://food.fnr.sndimg.com/content/dam/images/food/editorial/homepage/fn-feature.jpg.rend.hgtvcom.1280.1280.suffix/1474463768097.webp",
          "title": "Croissant",
          "source": "Food Network",
          "snippet": "Make this Croissant recipe at home with simple steps and standout results. Delicious every single time. Try the recipe tonight."
        },
        {
          "position": 3,
          "link": "https://www.delish.com/cooking/recipe-ideas/a64827538/shortcut-croissant-recipe/",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/pkSJd35PDepdyM09YB3HKQ--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xNTIuNTt3PTI0Ny41/https://hips.hearstapps.com/hmg-prod/images/shortcut-croissants-index-682cac7889c02.jpg?crop=0.5626666666666666xw:1xh;center,top&resize=1200:*",
          "title": "Shortcut Croissants",
          "source": "Delish",
          "snippet": "Making croissants from scratch is a project, but this one includes a couple of shortcuts to make it a little bit faster."
        },
        ...
      ]
    },
    {
      "title": "TikTok videos",
      "items": [
        {
          "position": 1,
          "link": "https://www.tiktok.com/@belgianmamasbakery/video/7639868250892930317",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/BZ4kLBZwXsa9FEnIeFk4hg--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD00MTI7cT04MDt3PTIzMg--/https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/ocER3SIG8AtNAYDgCgfcFeASAOEq7A19DkBqQE~tplv-tiktokx-dmt-logom:tos-useast5-i-0068-tx/ocH3AUIEcrdII6Lj1VQAenAkfhAe85wMAADI3G.image?dr=9634&x-expires=1791378000&x-signature=j3QO1EuTK2T6zkI18NPRFeTsPTI%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=0d52deaf&idc=useast5",
          "title": "This is how I started making croissants in my cottage bakery 2 years ago. Hand laminating batches of 12 croissants at a time taught me patience and perseverance! I wanted to make great croissants so badly. My first few batches came out horrible but I’m so glad I kept going! 👩‍🍳 #bakery #microbakery #cottagebakery #croissant #pastry",
          "source": "TikTok",
          "date": "5 mo ago",
          "views": "501.5K views",
          "extracted_views": 501500
        },
        {
          "position": 2,
          "link": "https://www.tiktok.com/@food.zizzle/video/7588184869377789206",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/mjpYvHBKHa4aDb1GxoOwow--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD00MTI7cT04MDt3PTIzMg--/https://p19-common-sign.tiktokcdn-us.com/tos-no1a-p-0037-no/oYAKdL4faOLfGS6wGe3GpkRlAQI4WiqQBlbNQe~tplv-tiktokx-origin.image?dr=9636&x-expires=1791378000&x-signature=XfsAFMTynT0Aue%2F71vIjZORBMvQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=0d52deaf&idc=useast5",
          "title": "Don’t miss out: 👉🏽Still not getting that bread as fluffy as mine ? Buy my secrets to fluffiness - link on profile. 👉🏽 Grab my cookbook with 50+ favorite tried & tested recipes VOL 1 & VOL 2 – link on profile! 👉🏽 Shop my kitchen gadgets & baking tools– all my favorites are linked on my storefront. 👉🏽shop my MIXER (link on my profile ) 👉🏽want written step by step instructions of my daily recipes ? Subscribe to my Facebook page . (See my Facebook profile ) 🥐 EASY CROISSANTS 🥐 Flaky, buttery, and perfect for beginners! Ingredients: • 6 cups (780g) all-purpose flour • 2 cups (500ml) warm milk • 1/2 tsp instant yeast • ¼ cup (50g) sugar • ¼ cup (60g) butter (for mixing) •1 tsp salt • 1/4 cup (60g ) very soft butter (for layering) • 1 egg yolk (for egg wash) Give a 👍🏽 or ❤️ and follow for more anazing recipes. 👉🏽Link to order my cookbook with over 50+ of my most loved recipes on my profile . 👉🏽Link to order my kitchen gadgets and baking accessories at sweet prices on my profile , go check it out and follow my storefront . See you in my next one ❤️",
          "source": "TikTok",
          "date": "9 mo ago",
          "views": "2.1M views",
          "extracted_views": 2100000
        },
        {
          "position": 3,
          "link": "https://www.tiktok.com/@ashleymarkletreats/video/7671825218104528159",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/8ITsMi4vXTVHLQKOt1JfdQ--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD00MTI7cT04MDt3PTIzMg--/https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oowiO4B5EiAYIICdGAiVAzEAE6eCfRb3qqHBA0~tplv-tiktokx-origin.image?dr=9636&x-expires=1791378000&x-signature=%2B%2FZ%2B%2FWayYXBNy7lnLMSC1U%2BOMKI%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=0d52deaf&idc=useast5",
          "title": "you KNOW I had to try the viral croissant ice cream bar 🍦🥐😋 #dessert #recipe #tiktokfood #creatorsearchinsights #croissantsviral",
          "source": "TikTok",
          "date": "2 mo ago",
          "views": "10.6M views",
          "extracted_views": 10600000
        },
        ...
      ]
    },
    {
      "title": "Ideas from Pinterest",
      "items": [
        {
          "position": 1,
          "link": "https://www.pinterest.com/pin/croissant--148970700168708545/",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/GnNZVqUXKJxTYVm7RX92qw--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0yODg7cT04MDt3PTM5NA--/https://i.pinimg.com/736x/8d/36/09/8d36093a0b03d94ea841e672aa496c12.jpg",
          "title": "#croissant | Art culinaire, Culinaire",
          "source": "Pinterest"
        },
        {
          "position": 2,
          "link": "https://www.pinterest.com/pin/3940718418787833/",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/IX0kKkhxEsq_yvABBfrAFg--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0yODg7cT04MDt3PTM5NA--/https://i.pinimg.com/736x/61/89/44/618944506a0268fa19abacb51c64bed4.jpg",
          "title": "Croissant Cookie 🥐🍪 | Croissant chocolat, Recette croissant, Patisserie facile et rapide",
          "source": "Pinterest"
        },
        {
          "position": 3,
          "link": "https://www.pinterest.com/pin/pin-p-places-id-like-to-go--64176363432339510/",
          "thumbnail": "https://s.yimg.com/fz/api/res/1.2/IgAGProtUXim4E4CifBNGw--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0yODg7cT04MDt3PTM5NA--/https://i.pinimg.com/736x/eb/a7/4c/eba74c1a425c9d266fc87a588353ff5f.jpg",
          "title": "Paris | Croissant, Pão com chocolate",
          "source": "Pinterest"
        },
        ...
      ]
    }
  ]
  ...

JSON Structure Overview

{
  ...
  "inline_items": [
    {
      "title": "String - Title of the block, e.g. 'TikTok videos', 'Ideas from Pinterest'",
      "items": [
        {
          "position": "Integer - Position of the item within the block, starting from 1",
          "link": "String - Link to the item",
          "thumbnail": "String - URL to the item thumbnail",
          "title": "String - Title of the item",
          "source": "String - Source of the item, e.g. 'TikTok', 'Pinterest', 'Food Network'",
          "snippet": "String - Short description of the item",
          "date": "String - Relative publish date, e.g. '5 mo ago'",
          "views": "String - Number of views as displayed, e.g. '501.5K views', '2.1M views'",
          "extracted_views": "Integer - Number of views parsed from `views`, e.g. 501500"
        }
      ]
    }
  ],
  ...
}