API Hop

दस्तावेज़

API Hop दस्तावेज़

Google Search संदर्भ

Google Search: वेब खोज · AI Mode के उत्तर · AI सारांश · हल्की खोज · खोज सुझाव · संबंधित प्रश्न · फ़ोरम खोज · खोज विज्ञापन · स्रोत की जानकारी · विज्ञापन सामग्री खोज · विज्ञापन सामग्री का विवरण.

समवर्ती अनुरोध सीमा

AI और Data के लिए खाते में अलग-अलग साझा समवर्ती स्लॉट हैं: डिफ़ॉल्ट रूप से 5 AI / 2 Data, जो सदस्यता के अनुसार बदलते हैं। endpoint की अलग सीमा भी श्रेणी की कुल सीमा के अधीन रहती है। किसी भी सीमा पर पहुँचने पर HTTP 429 मिलता है। असिंक्रोनस कार्य निष्पादन समाप्त होने तक स्लॉट लेते हैं।

GET /v1/google-search/search
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/ai-mode
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/ai-overview
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/light
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/autocomplete
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/related-questions
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/forums
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/ads
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/about-this-result
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/ads-transparency
डिफ़ॉल्ट सीमा: 2
GET /v1/google-search/ads-transparency-details
डिफ़ॉल्ट सीमा: 2

Google Search: वेब खोज · AI Mode के उत्तर · AI सारांश · हल्की खोज · खोज सुझाव · संबंधित प्रश्न · फ़ोरम खोज · खोज विज्ञापन · स्रोत की जानकारी · विज्ञापन सामग्री खोज · विज्ञापन सामग्री का विवरण.

प्रमाणीकरण और शुल्क

प्रत्येक सफल अनुरोध की डिफ़ॉल्ट दर $0.0003 (300 credits) है। API Hop API कुंजी इस्तेमाल करें। पहुंच सक्रिय गेटवे और अनुमति पर निर्भर है। सफल अनुरोध का मूल्य कैटलॉग और खाते में देखें; खाते की दर पहले लागू होती है। सफल खाली परिणाम भी शुल्क योग्य हैं। विफलता आरक्षित राशि छोड़ती है। समय सीमा 60 सेकंड है, स्वचालित पुनः प्रयास या पृष्ठांकन नहीं है। निपटान त्रुटि प्रदाता अनुरोध नहीं दोहराती।

http
Authorization: Bearer YOUR_API_KEY

केवल क्वेरी पैरामीटर भेजें, मुख्य भाग नहीं। अज्ञात, दोहराए गए, खाली या अमान्य मान अस्वीकार होते हैं। केवल JSON, अपने आप पृष्ठ बदलना या फिर प्रयास करना नहीं। ID और टोकन नए उत्तर से लें। उदाहरण केवल समझाने के लिए हैं। पुष्टि किए गए खाली या अनुपलब्ध परिणामों सहित हर पूरी हुई खोज का अलग शुल्क लगता है। XOR = केवल एक, NOT = वर्जित, => = आवश्यक।

GET https://api.apihop.ai/v1/google-search/search

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
urlstringपूरा HTTPS खोज पता (url); url: optional; maxLength: 32768https://www.google.com/search?q=coffee%20beans&hl=en&gl=us
device_osstringमोबाइल ऑपरेटिंग सिस्टम (device_os); device_os: optional; android, iosios
querystringखोज पाठ; query: optional; minLength: 1; maxLength: 24576; UTF-8 bytes: 8192coffee
query_encodedbooleanक्वेरी पहले से URL एन्कोड है (query_encoded); query_encoded: optionaltrue
uulestringक्षेत्र (uule); uule: optional; minLength: 3; maxLength: 4096; ^[wa]\+(?:[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}$w+CAIQICIaQXVzdGluLFRleGFzLFVuaXRlZCBTdGF0ZXM
rewrite_linksbooleanHTML रीडायरेक्ट लिंक हल करें (rewrite_links); rewrite_links: optionaltrue
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
devicestringडिवाइस; device: optional; mobile, tablet, desktopmobile
safestringपरिणाम फ़िल्टर (safe); safe: optional; active, offactive
color_schemestringरंग थीम (color_scheme); color_scheme: optional; light, darklight
ludocidstringखोज मोड या मूल चयनकर्ता (ludocid); ludocid: optional; maxLength: 20-
lsigstringखोज मोड या मूल चयनकर्ता (lsig); lsig: optional; maxLength: 2048-
kgmidstringखोज मोड या मूल चयनकर्ता (kgmid); kgmid: optional; maxLength: 131-
sistringखोज मोड या मूल चयनकर्ता (si); si: optional; maxLength: 8192-
ibpstringखोज मोड या मूल चयनकर्ता (ibp); ibp: optional; maxLength: 2048-
udsstringखोज मोड या मूल चयनकर्ता (uds); uds: optional; maxLength: 8192-
pwsintegerपरिणाम फ़िल्टर (pws); pws: optional; 0, 10
nfprintegerपरिणाम फ़िल्टर (nfpr); nfpr: optional; 0, 10
filterintegerपरिणाम फ़िल्टर (filter); filter: optional; 0, 10
lrstringभाषा फ़िल्टर (lr); lr: optional; ^lang_[a-z]{2,3}(\|lang_[a-z]{2,3})*$lang_fr
crstringदेश फ़िल्टर (cr); cr: optional; ^country[A-Za-z]{2}(\|country[A-Za-z]{2})*$countryFR
startintegerपरिणाम ऑफसेट; start: optional; min: 010
google_domainstringखोज इंजन डोमेन (google_domain); google_domain: optional; google.com, google.ad, google.ae, google.com.af, google.com.ag, google.al, google.am, google.co.ao, google.com.ar, google.as, ... 186google.co.uk
glstringदेश फ़िल्टर (gl); gl: optional; ad, ae, af, ag, ai, al, am, an, ao, aq, ... 252ad
hlstringभाषा फ़िल्टर (hl); hl: optional; af, sq, am, ar, hy, az, bn, bg, my, ca, ... 76af
locationstringखोज स्थान; स्रोत; location: optional; minLength: 1Austin,Texas,United States
coordinatesstringJSON निर्देशांक (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
radiusintegerमीटर में त्रिज्या (radius); radius: optional; min: 1; max: 1000150
tbsstringसमय सीमा (tbs); tbs: optionalqdr:h
tbmstringखोज मोड या मूल चयनकर्ता (tbm); tbm: optional; nws, vid, isch, shop, lcl, bksnws
udmintegerखोज मोड या मूल चयनकर्ता (udm); udm: optional; 1, 2, 6, 7, 12, 14, 28, 36, 502

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • radius => coordinates; NOT uule; desktop radius <= 199 meters, mobile/tablet radius <= 1000 meters
  • device_os => device = mobile OR tablet
  • query XOR url; tbm XOR udm when selecting a search tab
  • query: <= 8192 UTF-8 bytes after decoding; query_encoded=true => URL-encoded query value, not a URL or q= prefix
  • url: HTTPS Google /search with nonempty q or as_q; only device, device_os, zero_trace and rewrite_links may accompany url
  • ludocid: nonzero unsigned 64-bit decimal string; preserve numeric precision

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

Google Search: AI Mode के उत्तर

GET https://api.apihop.ai/v1/google-search/ai-mode

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
locationstringखोज स्थान; location: optional-
coordinatesstringJSON निर्देशांक (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestringक्षेत्र (uule); uule: optional; maxLength: 4096-
image_urlstringसार्वजनिक HTTPS चित्र पता (image_url); image_url: optional; maxLength: 2048-
continuablebooleanअगले प्रश्न का टोकन चालू करें (continuable); continuable: optionaltrue
subsequent_request_tokenstringनए उत्तर से टोकन (subsequent_request_token); subsequent_request_token: optional; maxLength: 24576-

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • continuable=true: return a conversation token; subsequent_request_token: new query, optional image_url, same original locale/location; token expires after 15 minutes or earlier at the source
  • image_url: public HTTPS image URL; no credentials, fragment or port

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/ai-mode" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

Google Search: AI सारांश

GET https://api.apihop.ai/v1/google-search/ai-overview

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: optional; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
page_tokenstringनए उत्तर से टोकन (page_token); page_token: optional; maxLength: 24576-

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • query XOR page_token; page_token: copy from a fresh search response; preserve original query and locale
  • page_token: use within one minute; valid page without AI Overview => feature_available=false

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/ai-overview" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

GET https://api.apihop.ai/v1/google-search/light

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192coffee
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
pageintegerपृष्ठ, 1 से शुरू; page: optional; min: 1; max: 10001
locationstringखोज स्थान; location: optional-
safestringपरिणाम फ़िल्टर (safe); safe: optional; active, offactive
time_rangestringसमय सीमा (time_range); time_range: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
coordinatesstringJSON निर्देशांक (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestringक्षेत्र (uule); uule: optional; maxLength: 4096-
google_domainstringखोज इंजन डोमेन (google_domain); google_domain: optional-
lrstringभाषा फ़िल्टर (lr); lr: optional; ^lang_[a-z]{2,3}(?:\&#124;lang_[a-z]{2,3})*$-
nfprintegerपरिणाम फ़िल्टर (nfpr); nfpr: optional; 0, 10
filterintegerपरिणाम फ़िल्टर (filter); filter: optional; 0, 10
startintegerपरिणाम ऑफसेट; start: optional; min: 0; max: 10000

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/light" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

Google Search: खोज सुझाव

GET https://api.apihop.ai/v1/google-search/autocomplete

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: REQUIRED; minLength: 1; maxLength: 100; UTF-8 bytes: 8192coffee
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
limitintegerपरिणाम सीमा; limit: optional; min: 1; max: 201
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
clientstringखोज मोड या मूल चयनकर्ता (client); client: optional; chrome, chrome-omni, gws-wiz, safari, firefox, psy-ab, toolbar, youtube, gws-wiz-localchrome
cpintegerकर्सर स्थिति (cp); cp: optional; min: 0; max: 81920

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

GET https://api.apihop.ai/v1/google-search/related-questions

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: optional; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
next_page_tokenstringनए उत्तर से टोकन (next_page_token); next_page_token: optional; minLength: 1; maxLength: 24576-

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • next_page_token: copy from a fresh response; keep original query, localization and filters; do not fabricate tokens
  • query OR next_page_token: required; result tokens expand an individual question

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/related-questions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

GET https://api.apihop.ai/v1/google-search/forums

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192best coffee grinder
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
pageintegerपृष्ठ, 1 से शुरू; page: optional; min: 1; max: 10001
locationstringखोज स्थान; location: optional-
safestringपरिणाम फ़िल्टर (safe); safe: optional; active, offactive
time_rangestringसमय सीमा (time_range); time_range: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
coordinatesstringJSON निर्देशांक (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestringक्षेत्र (uule); uule: optional; maxLength: 4096-
nfprintegerपरिणाम फ़िल्टर (nfpr); nfpr: optional; 0, 10
filterintegerपरिणाम फ़िल्टर (filter); filter: optional; 0, 10
startintegerपरिणाम ऑफसेट; start: optional; min: 0; max: 10000
tbsstringसमय सीमा (tbs); tbs: optional; maxLength: 512-
period_unitstringसमय सीमा (period_unit); period_unit: optional; s, n, h, d, w, m, ys
period_valueintegerसमय सीमा (period_value); period_value: optional; min: 1; max: 21474836471
start_datestringतारीख सीमा (start_date); start_date: optional; ^[0-9]{8}$-
end_datestringतारीख सीमा (end_date); end_date: optional; ^[0-9]{8}$-

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/forums" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=best coffee grinder"

Google Search: खोज विज्ञापन

GET https://api.apihop.ai/v1/google-search/ads

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192car insurance
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
locationstringखोज स्थान; location: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
coordinatesstringJSON निर्देशांक (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
safestringपरिणाम फ़िल्टर (safe); safe: optional; active, offactive
nfprintegerपरिणाम फ़िल्टर (nfpr); nfpr: optional; 0, 10

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • valid page without ads => ads_available=false; this endpoint reads ads and does not create campaigns

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/ads" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=car insurance"

Google Search: स्रोत की जानकारी

GET https://api.apihop.ai/v1/google-search/about-this-result

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ (website URL; query XOR req_token); query: optional; minLength: 1; UTF-8 bytes: 8192https://www.starbucks.com/
req_tokenstringनए उत्तर से टोकन (req_token); req_token: optional; maxLength: 16384; ^[A-Za-z0-9_-]+={0,2}$-
countrystringदेश फ़िल्टर (country); country: optional; ^[A-Za-z]{2}$-
languagestringभाषा; language: optional-
google_domainstringखोज इंजन डोमेन (google_domain); google_domain: optional-
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • query XOR req_token; query: website URL; req_token: copy from a fresh About This Result selector

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/about-this-result" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=https://www.starbucks.com/"

GET https://api.apihop.ai/v1/google-search/ads-transparency

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: optional; minLength: 1; UTF-8 bytes: 8192nike.com
countrystringदेश फ़िल्टर (country); country: optional; ad, ae, af, ag, ai, al, am, ao, aq, ar, ... 244; ^[A-Za-z]{2}$ad
languagestringभाषा; language: optional-
limitintegerपरिणाम सीमा; limit: optional; min: 1; max: 1001
idstringमूल पहचानकर्ता (id); id: optional-
categorystringखोज मोड या मूल चयनकर्ता (category); category: optional; image, text, videoimage
next_page_tokenstringनए उत्तर से टोकन (next_page_token); next_page_token: optional; minLength: 1; maxLength: 24576-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
advertiser_idstringमूल पहचानकर्ता (advertiser_id); advertiser_id: optional; maxLength: 3499-
platformstringखोज मोड या मूल चयनकर्ता (platform); platform: optional; PLAY, MAPS, SEARCH, SHOPPING, YOUTUBEPLAY
political_adsbooleanपरिणाम फ़िल्टर (political_ads); political_ads: optionaltrue
get_advertiserbooleanविज्ञापनदाता का विवरण (get_advertiser); get_advertiser: optionaltrue
regionstringक्षेत्र (region); उदाहरण: US=2840; region: optional; anywhere, 2004, 2008, 2010, 2012, 2016, 2020, 2024, 2028, 2031, ... 245; maxLength: 8anywhere
start_datestringतारीख सीमा (start_date); start_date: optional; ^[0-9]{8}$-
end_datestringतारीख सीमा (end_date); end_date: optional; ^[0-9]{8}$-
creative_formatstringखोज मोड या मूल चयनकर्ता (creative_format); creative_format: optional; image, text, videoimage

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • next_page_token: copy from a fresh response; keep original query, localization and filters; do not fabricate tokens
  • exactly one of query, id, advertiser_id; category XOR creative_format when selecting a creative format
  • id, advertiser_id: AR-prefixed IDs, comma-separated, up to 100; get_advertiser=true => exactly one advertiser ID
  • political_ads=true => explicit country or region other than anywhere; start_date < end_date; dates must exist

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/ads-transparency" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=nike.com"

Google Search: विज्ञापन सामग्री का विवरण

GET https://api.apihop.ai/v1/google-search/ads-transparency-details

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
advertiser_idstringमूल पहचानकर्ता (advertiser_id); advertiser_id: REQUIRED; maxLength: 34; ^AR[0-9]{1,32}$${ADVERTISER_ID}
creative_idstringमूल पहचानकर्ता (creative_id); creative_id: REQUIRED; maxLength: 34; ^CR[0-9]{1,32}$${CREATIVE_ID}
regionstringक्षेत्र (region); region: optional; anywhere, 2004, 2008, 2010, 2012, 2016, 2020, 2024, 2028, 2031, ... 245anywhere
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • advertiser_id AND creative_id: copy from a fresh ads-transparency response; sample identifiers do not prove availability

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-search/ads-transparency-details" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "advertiser_id=${ADVERTISER_ID}" \
  --data-urlencode "creative_id=${CREATIVE_ID}"

जवाब और त्रुटियां

मूल JSON और संख्या सटीकता रहती है। उदाहरण सफल खाली परिणाम है। HTTP 400: इनपुट; 401: प्रमाणीकरण; 402: शेष; 403: अनुमति; 405: विधि; 429: सीमा; 5xx: सेवा। X-Request-Id रखें।

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}