Data
Query Data
Proxy a datasource data query to data.oviond.com
POST
/
v1
/
data
/
query
Query Data
curl --request POST \
--url https://api.oviond.com/v1/data/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"datasource_id": "gadw",
"client_id": "cliAbc123",
"date_range": {
"current_start": "2026-06-01",
"current_end": "2026-06-30",
"previous_start": "2026-05-01",
"previous_end": "2026-05-31"
},
"metrics": [
"impressions",
"clicks",
"ctr"
],
"dimensions": [
"DATE"
],
"data_view": "ACCOUNT"
}
'import requests
url = "https://api.oviond.com/v1/data/query"
payload = {
"datasource_id": "gadw",
"client_id": "cliAbc123",
"date_range": {
"current_start": "2026-06-01",
"current_end": "2026-06-30",
"previous_start": "2026-05-01",
"previous_end": "2026-05-31"
},
"metrics": ["impressions", "clicks", "ctr"],
"dimensions": ["DATE"],
"data_view": "ACCOUNT"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
datasource_id: 'gadw',
client_id: 'cliAbc123',
date_range: {
current_start: '2026-06-01',
current_end: '2026-06-30',
previous_start: '2026-05-01',
previous_end: '2026-05-31'
},
metrics: ['impressions', 'clicks', 'ctr'],
dimensions: ['DATE'],
data_view: 'ACCOUNT'
})
};
fetch('https://api.oviond.com/v1/data/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.oviond.com/v1/data/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'datasource_id' => 'gadw',
'client_id' => 'cliAbc123',
'date_range' => [
'current_start' => '2026-06-01',
'current_end' => '2026-06-30',
'previous_start' => '2026-05-01',
'previous_end' => '2026-05-31'
],
'metrics' => [
'impressions',
'clicks',
'ctr'
],
'dimensions' => [
'DATE'
],
'data_view' => 'ACCOUNT'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.oviond.com/v1/data/query"
payload := strings.NewReader("{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.oviond.com/v1/data/query")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oviond.com/v1/data/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"current": [
{
"DATE": "2026-06-01",
"impressions": 312,
"clicks": 11,
"ctr": 3.52
}
],
"currentSummary": {
"impressions": 9097,
"clicks": 331,
"ctr": 3.64
},
"previous": [],
"previousSummary": {},
"state": "ACTIVE"
},
"meta": {
"request_id": "req_a1b2c3"
}
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Oviond API key (prefix oviond_) sent as a Bearer token — the credential for REST/programmatic and headless integrations. Manage keys in Settings → API Keys. API keys do NOT authenticate the MCP endpoint (/mcp), which uses OAuth 2.1 + PKCE.
Body
application/json
Available options:
advanced-web-ranking, ac, adroll, ahrefs, basecamp, brightlocal, call-rail, drip, keywords, sendin-blue, sendgrid, moosend, mailer-lite, pingdom, uptime-robot, piwik-pro, wordpress, pabbly-connect, ment, twilio, switchy, vimeo, pinterest, pinterest-ads, gtres, paypal, gps, gs, CUSTOM_IMPORT, CUSTOM_DATA, CALCULATION, GOALS, str, wistia, ca-mon, convertkit, woocommerce, xero, matomo, go-high-level, wcs, bing-webmaster-tools, pipedrive, salesforce, tiktok, tiktok-ads, twr, twr-ads, spf, ytbe, google-local-services-ads, klaviyo, gsh, ga4, lkdin-ads, lkdin-pg, mlchmp, inst-ads, inst, fb-ads, fb-pg, gmb, serpstat, hubspot, gadw, sem-rush, se-ranking, microsoft-ads, plausible, snapchat-ads, amazon-advertising, microsoft-clarity, serp-watch, vbout, moz, chatgpt-ads Example:
"ga4"
Example:
"cliAbc123"
Show child attributes
Show child attributes
Example:
["sessions", "pageviews"]
Example:
["DATE"]
Example:
"OVERVIEW"
Show child attributes
Show child attributes
Example:
"America/New_York"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Query Data
curl --request POST \
--url https://api.oviond.com/v1/data/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"datasource_id": "gadw",
"client_id": "cliAbc123",
"date_range": {
"current_start": "2026-06-01",
"current_end": "2026-06-30",
"previous_start": "2026-05-01",
"previous_end": "2026-05-31"
},
"metrics": [
"impressions",
"clicks",
"ctr"
],
"dimensions": [
"DATE"
],
"data_view": "ACCOUNT"
}
'import requests
url = "https://api.oviond.com/v1/data/query"
payload = {
"datasource_id": "gadw",
"client_id": "cliAbc123",
"date_range": {
"current_start": "2026-06-01",
"current_end": "2026-06-30",
"previous_start": "2026-05-01",
"previous_end": "2026-05-31"
},
"metrics": ["impressions", "clicks", "ctr"],
"dimensions": ["DATE"],
"data_view": "ACCOUNT"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
datasource_id: 'gadw',
client_id: 'cliAbc123',
date_range: {
current_start: '2026-06-01',
current_end: '2026-06-30',
previous_start: '2026-05-01',
previous_end: '2026-05-31'
},
metrics: ['impressions', 'clicks', 'ctr'],
dimensions: ['DATE'],
data_view: 'ACCOUNT'
})
};
fetch('https://api.oviond.com/v1/data/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.oviond.com/v1/data/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'datasource_id' => 'gadw',
'client_id' => 'cliAbc123',
'date_range' => [
'current_start' => '2026-06-01',
'current_end' => '2026-06-30',
'previous_start' => '2026-05-01',
'previous_end' => '2026-05-31'
],
'metrics' => [
'impressions',
'clicks',
'ctr'
],
'dimensions' => [
'DATE'
],
'data_view' => 'ACCOUNT'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.oviond.com/v1/data/query"
payload := strings.NewReader("{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.oviond.com/v1/data/query")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oviond.com/v1/data/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"datasource_id\": \"gadw\",\n \"client_id\": \"cliAbc123\",\n \"date_range\": {\n \"current_start\": \"2026-06-01\",\n \"current_end\": \"2026-06-30\",\n \"previous_start\": \"2026-05-01\",\n \"previous_end\": \"2026-05-31\"\n },\n \"metrics\": [\n \"impressions\",\n \"clicks\",\n \"ctr\"\n ],\n \"dimensions\": [\n \"DATE\"\n ],\n \"data_view\": \"ACCOUNT\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"current": [
{
"DATE": "2026-06-01",
"impressions": 312,
"clicks": 11,
"ctr": 3.52
}
],
"currentSummary": {
"impressions": 9097,
"clicks": 331,
"ctr": 3.64
},
"previous": [],
"previousSummary": {},
"state": "ACTIVE"
},
"meta": {
"request_id": "req_a1b2c3"
}
}{
"error": "<string>"
}