SerpBase

빠른 시작

약 2분 만에 API로 첫 Google 검색을 실행합니다. API 키와 터미널만 있으면 되고 설치할 것은 없습니다.

1

API 키 발급

계정을 만들면 카드 없이 무료 크레딧 500개가 제공됩니다. 대시보드의 API 키에서 키를 만드세요. 키는 X-API-Key 헤더로만 보내고 URL이나 브라우저 코드에 넣지 마세요.

API keys →
2

검색 요청 보내기

검색 엔드포인트는 POST로 JSON 본문을 받습니다. 아래 요청은 미국 사용자처럼 Google에서 “coffee shops”를 검색합니다.

BASH
curl -X POST 'https://api.serpbase.dev/google/search' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"device":"mobile","gl":"us","hl":"en","q":"coffee shops"}'

클릭으로 해 보고 싶다면 같은 요청을 Playground에서 실행할 수 있습니다. 키가 자동으로 채워집니다. Playground →

기본 URL: https://api.serpbase.dev

3

결과 읽기

결과 페이지가 JSON으로 오며, Google이 보여 준 블록마다 필드가 하나씩 있습니다. 실제 응답(축약):

응답 · 실제 응답, 축약
{
  "status": 0,
  "credits_charged": 1,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "google_web_search",
  "query": "coffee shops",
  "local_results": [
    {
      "address": "Denver, CO",
      "category": "Coffee shop",
      "hours": "Open",
      "position": 1,
      "rank": 1,
      "rating": "4.9",
      "reviews_count": "455",
      "title": "Coffeegraph"
    },
    {
      "address": "Sioux Falls, SD",
      "category": "Coffee shop",
      "hours": "Open",
      "position": 1,
      "rank": 2,
      "rating": "4.9",
      "reviews_count": "295",
      "title": "The Breaks Coffee Roasting Co."
    }
  ],
  "organic": [
    {
      "date": "Sep 17, 2026",
      "display_link": "www.discovertheburgh.com",
      "display_url": "www.discovertheburgh.com",
      "link": "https://www.discovertheburgh.com/pittsburgh-coffee-shops/",
      "position": 3,
      "published_at": "Sep 17, 2026",
      "rank": 1,
      "snippet": "🏨 Book Avenue in Garfield. Redhawk Coffee. Ghost Coffee Collab at Trace Brewing. Kaibur Coffee Kaibu…",
      "source_url": "https://www.google.com/goto?url=CAESdAHrOzAVQPT8-1-RxOq_G62WuAgUAmaFDk4SD6YsadPoLMH5lbvuR0WPu8BR2EKN…",
      "title": "48 Pittsburgh Coffee Shops to Grab a Delicious Brew",
      "url": "https://www.discovertheburgh.com/pittsburgh-coffee-shops/"
    }
  ],
  "page": 1,
  "people_also_ask": [
    {
      "position": 2,
      "question": "What are the top 10 coffee chains?"
    },
    {
      "position": 2,
      "question": "What are the main coffee shop chains?"
    }
  ],
  "people_also_search_for": [
    "Best coffee shops",
    "Coffee shops Orlando"
  ],
  "related_searches": [
    "Best coffee shops in Pittsburgh to study",
    "Coffee Shops near Monroeville PA"
  ],
  "search_type": "search"
}
status: 0
성공입니다. 다른 값에는 오류 메시지가 함께 오며 실패한 검색은 과금되지 않습니다.
credits_charged
이 요청의 비용입니다. Google 검색은 1 크레딧입니다.
request_id
지원팀에 문의할 때 알려 주시면 몇 초 만에 요청을 찾을 수 있습니다.
4

다음 단계

엔드포인트