Send Your First Request

Send your first request with Thordata's SERP API. Before getting started, you'll need API Token.

  1. You can get a free trial on the [Pricing] page.

  2. Then, copy your credentials under [API Playground] > "Token".

Code example: After obtaining your API credentials, use the following code to send your first request: [Remember to replace "Token" in the code examples with your own token in Thordata dashboard]

curl https://scraperapi.thordata.com/request -H "Content-Type: application/json" -H "Authorization: Bearer Token" -d "{\"url\": \"https://www.google.com/search?q=pizza^&json=1\"}"

After sending the request, it will return output results in JSON/HTML format:

organic: [
  {
    description: "Experimente as melhores pizzas da Pizza Hut. Descubra ofertas, cardápios e lojas próximas. Delivery ou retirada disponíveis. Aproveite!",
    display_link: "https://pizzahut.com.br",
    global_rank: 1,
    link: "https://pizzahut.com.br/",
    rank: 1,
    title: "Pizza Hut Brasil: Ofertas, Cardápios e Delivery!"
  },
  {
    description: "Faça o seu pedido online na maior pizzaria do mundo! Diversos tipos de pizzas, combos e promoções para você escolher. Peça agora a sua Domino's quentinha no ...",
    display_link: "https://www.dominos.com.br",
    global_rank: 2,
    link: "https://www.dominos.com.br/",
    rank: 2,
    title: "Domino's Pizza - A Maior Pizzaria do Mundo"
  },
  {
    description: "Comece dissolvendo o fermento, sal e açúcar na água morna, antes de misturar com a farinha, óleo e cachaça, formando uma massa de pizza macia e elástica.",
    display_link: "https://www.tudogostoso.com.br › receita › 324-massa-...",
    extensions: [
      {
        text: "4,6(1.621)",
        type: "rating"
      },
      {
        text: "15 min",
        type: "text"
      }
    ],
    global_rank: 3,
    image: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3N
    zc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N...

If you need further assistance, contact us at [email protected].

Last updated

Was this helpful?