Web search
Explore the web effortlessly with our Web Search API. Provide a query, and our algorithm delivers accurate and comprehensive search results from multiple online sources.
cURL 'https://api.enrich.so/v1/api/web-search?query="Akshit Sharma"&page_size=10&page=1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'const axios = require('axios');
axios.get('https://api.enrich.so/v1/api/web-search?query="Akshit Sharma"&page_size=10&page=1', {
    headers: {accept: 'application/json', Authorization: 'Bearer <token>'}
})
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.log(error);
  });// Some codeimport requests
payload = {'query': 'Oscars', 'page_size': 10, 'page': 1}
headers = {'accept': 'application/json', 'authorization': 'Bearer <token>'}
resp = requests.get('https://api.enrich.so/v1/api/web-search', params=payload, headers=headers)
print (resp.text)OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
  .url("https://api.enrich.so/v1/api/web-search?query='Akshit Sharma'&page_size=10&page=1")
  .get()
  .addHeader("accept", "application/json")
  .addHeader("authorization", "Bearer <token>")
  .build();
Response response = client.newCall(request).execute();require 'uri'
require 'net/http'
url = URI("https://api.enrich.so/v1/api/web-search?query='Akshit Sharma'&page_size=10&page=1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.enrich.so/v1/api/web-search?query='Akshit Sharma'&page_size=10&page=1",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: Bearer <token>"
  ],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}Example response
Status Code: 200 OK
{
    "success": true,
    "message": "Search successfully executed.",
    "data": {
        "request_parameters": {
            "query": "\"Aarav Mehta\"",
            "type": "search",
            "page_size": 10,
            "page": 1,
            "engine": "google"
        },
        "result": [
            {
                "title": "Aarav Mehta | Head of AI Research | Tech Visionary",
                "link": "https://www.techvisionary.com/aarav-mehta/",
                "snippet": "Aarav Mehta is leading groundbreaking AI research and development at Tech Visionary Labs. With a Ph.D. in Machine Learning...",
                "date": "",
                "position": 1,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta - Senior Data Scientist at Quantum Tech",
                "link": "https://www.linkedin.com/in/aarav-mehta",
                "snippet": "Aarav Mehta. Driving innovation in data science and machine learning. Senior Data Scientist at Quantum Tech, San Francisco.",
                "date": "",
                "position": 2,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta (@aaravmehta_official) • Instagram photos",
                "link": "https://www.instagram.com/aaravmehta_official/",
                "snippet": "Data • Tech • Art Sharing my journey of creating impactful AI solutions. Collaborations: [email protected].",
                "date": "",
                "position": 3,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta | Tech Conferences Speaker",
                "link": "https://www.innovate2025.com/speakers/aarav-mehta",
                "snippet": "Aarav Mehta shares his insights on AI and its impact on industries at Innovate 2025. Catch him live on stage.",
                "date": "",
                "position": 4,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta, AI Innovator and Author",
                "link": "https://www.authorsguild.org/members/aarav-mehta",
                "snippet": "Author of 'AI for Humanity', Aarav Mehta is revolutionizing the way AI is perceived and applied globally.",
                "date": "",
                "position": 5,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta on YouTube | Exploring AI and Tech",
                "link": "https://www.youtube.com/@aaravmehta_ai",
                "snippet": "Learn about the latest AI advancements and tech trends with Aarav Mehta. Tutorials, discussions, and more.",
                "date": "",
                "position": 6,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta | AI Ethics Advocate",
                "link": "https://www.aicouncil.org/aarav-mehta",
                "snippet": "Championing ethical AI development, Aarav Mehta works with international organizations to create responsible AI policies.",
                "date": "",
                "position": 7,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta - Quantum Computing Breakthroughs",
                "link": "https://www.futuretech.com/articles/aarav-mehta-quantum-computing",
                "snippet": "Discover how Aarav Mehta is shaping the future of quantum computing with his innovative research.",
                "date": "",
                "position": 8,
                "sitelinks": null
            },
            {
                "title": "Aarav Mehta - Twitter Updates",
                "link": "https://twitter.com/aaravmehta",
                "snippet": "Sharing updates on AI, machine learning, and innovation. Follow Aarav Mehta for real-time insights.",
                "date": "",
                "position": 9,
                "sitelinks": null
            },
            {
                "title": "Meet Aarav Mehta | Tech Influencer",
                "link": "https://www.influencershub.com/aarav-mehta",
                "snippet": "Aarav Mehta is a top tech influencer, known for simplifying complex AI topics for broader audiences.",
                "date": "",
                "position": 10,
                "sitelinks": null
            }
        ]
    },
    "total_credits": 150,
    "credits_used": 45.2,
    "credits_remaining": 104.8
}
Status code: 404 NOT FOUND
{
    "message": "We couldn't find results for your query"
}Last updated