curl
curl -s -H "x-api-key: YOUR_API_KEY" "https://novadatahub.com/search?q=api+playground&gl=us&hl=en&sync=true"
Python
import requests
params = {'q': 'api playground', 'gl': 'us', 'hl': 'en', 'sync': 'true'}
headers = {'x-api-key': 'YOUR_API_KEY'}
resp = requests.get('https://novadatahub.com/search', params=params, headers=headers, timeout=60)
print(resp.json())
C# HttpClient
using System.Net.Http.Json;
using System.Text.Json;
using var http = new HttpClient();
http.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = await http.GetFromJsonAsync<JsonElement>("https://novadatahub.com/search?q=api+playground&gl=us&hl=en&sync=true");
Console.WriteLine(json.ToString());
Sample JSON response
{
"ok": true,
"status": "completed",
"result": {
"query": "api playground",
"organic": [{ "position": 1, "title": "Example playground result" }],
"related_searches": ["developer api playground"]
}
}