# SERP API Sayfa Ekran Görüntüsü

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/screenshot`

**Tags:** DataForSEO

Google'da bir arama sonuçları sayfasının işlenmiş ekran görüntüsünü döndürür. `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` ve `items` döndürür. DataForSEO zarfına sarılıdır: veriler `tasks[0].result` içinde, sonuç `tasks[0].status_code` içinde — reddedilen bir istek yine de HTTP 200 döndürür.

### Fiyatlandırma referansı

- Ölçümlendirme: bildirilen yanıt maliyeti.
- Referans istek tahmini: USD 0.02.
- Referans müşteri çarpanı: 1.0. Kesinleşmiş müşteri tutarına yeniden uygulamayın.

Yalnızca referans üst verisidir; hesap teklifi, garantili fiyat veya harcama üst sınırı değildir. Kaynak kredileri Felo kredisi değildir. Nihai ücretler Felo faturalandırma kayıtlarını izler.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "task_id": {
            "type": "string",
            "description": "<em>görev tanımlayıcısı</em><br><strong>zorunlu alan</strong><br>ilişkili görevin UUID biçimindeki benzersiz tanımlayıcısı<br>görevin sonuçlarını istediğiniz zaman istemek için <strong>7 gün</strong> boyunca kullanabilirsiniz"
          },
          "browser_preset": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>tarayıcı çözünürlük ön ayarı</em><br>isteğe bağlı alan<br>belirli bir cihaz türüyle ilişkili tarayıcı ön ayarı<br>şu değerleri alabilir: <code>desktop</code>, <code>tablet</code>, <code>mobile</code> <br><strong>Not:</strong> varsayılan olarak tarayıcı ön ayarı, POST isteğinde belirtilen cihaz türüne karşılık gelir"
          },
          "browser_screen_width": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>tarayıcı çözünürlüğünün genişliği</em><br>isteğe bağlı alan<br>şu aralıkta belirtilebilir: <code>240-9999</code><br><code>desktop</code> için varsayılan değer: 1920<br><code>mobile</code> için varsayılan değer: 390<br><code>table</code> için varsayılan değer: 1024",
            "format": "int64"
          },
          "browser_screen_height": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>tarayıcı çözünürlüğünün yüksekliği</em><br>isteğe bağlı alan<br>şu aralıkta belirtilebilir: <code>240-9999</code><br><code>desktop</code> için varsayılan değer: 1080<br><code>mobile</code> için varsayılan değer: 844<br><code>table</code> için varsayılan değer: 1366"
          },
          "browser_screen_scale_factor": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>tarayıcı ölçek faktörü</em><br>isteğe bağlı alan<br>şu aralıkta belirtilebilir: <code>0.5-3</code><br><code>desktop</code> için varsayılan değer: 1<br><code>mobile</code> için varsayılan değer: 3<br><code>table</code> için varsayılan değer: 2"
          },
          "page": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>SERP sayfası sayısı</em><br>isteğe bağlı alan<br>ilgili Görev POST isteğindeki <code>depth</code> 10 sonucu (veya 1 SERP sayfasını) aşıyorsa ekran görüntüsü alınacak SERP sayfası sayısını belirtin;<br>varsayılan değer: <code>1</code>"
          }
        },
        "example": [
          {
            "task_id": "06211235-0696-0139-1000-36727fbd3c90",
            "browser_screen_scale_factor": 0.5
          }
        ]
      }
    ]
  },
  "example": [
    {
      "task_id": "06211235-0696-0139-1000-36727fbd3c90",
      "browser_screen_scale_factor": 0.5
    }
  ]
}
```

## Responses

### 200 — Başarılı işlem

Headers:
- `X-Request-Id` (string) — Felo desteğiyle iletişime geçerken belirtilecek istek tanımlayıcısı.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpScreenshotResponseInfo"
    }
  ]
}
```

### 400 — İstek işlenemedi. İstek parametrelerini kontrol edin.

### 401 — Geçerli bir Felo API anahtarı gerekir.

### 402 — Faturalandırma koşulu karşılanmadığı için istek devam edemiyor.

### 403 — Hesabın bu işlemi gerçekleştirme izni yok.

### 429 — İstek veya harcama sınırına ulaşıldı.

### 502 — Hizmet isteği tamamlayamadı.

### 503 — API veya faturalandırma hizmeti geçici olarak kullanılamıyor.

### 504 — İstek işlenirken hizmet zaman aşımına uğradı.

### default — Hata yanıtı; upstream sağlayıcıdan doğrudan aktarılan yanıtlar sağlayıcı biçimlerini kullanabilir

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API'nin geçerli sürümü"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "genel durum kodu\nyanıt kodlarının tam listesini burada bulabilirsiniz"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "genel bilgilendirme mesajı\ngenel bilgilendirme mesajlarının tam listesini burada bulabilirsiniz"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "toplam yürütme süresi, saniye"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "toplam görev maliyeti, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks dizisindeki görev sayısı",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks dizisinde hata ile dönen görev sayısı",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "görev tanımlayıcısı\nsistemimizde UUID biçiminde benzersiz görev tanımlayıcısı"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "görevin durum kodu\nDataForSEO tarafından oluşturulur; şu aralıkta olabilir: 10000-60000\nyanıt kodlarının tam listesini burada bulabilirsiniz"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "görevin bilgilendirme mesajı\ngenel bilgilendirme mesajlarının tam listesini burada bulabilirsiniz"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "yürütme süresi, saniye"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "toplam görev maliyeti, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result dizisindeki öğe sayısı",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL yolu"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST isteğinde belirttiğiniz parametrelerin aynısını içerir"
    }
  }
}
```

### Response36Afe1097B20_ScreenshotItem

`#/components/schemas/Response36Afe1097B20_ScreenshotItem`

```json
{
  "type": "object",
  "properties": {
    "image": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>istenen sayfanın ekran görüntüsü</em><br>sayfa ekran görüntüsünün DataForSEO depolamasındaki URL'si<br><strong>not: DataForSEO depolamasına kaydedilen sayfa ekran görüntüsü, istek yapıldıktan sonra yalnızca bir gün boyunca erişilebilir kalır</strong>"
    }
  }
}
```

### Response36Afe1097B20_SerpScreenshotResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpScreenshotResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpScreenshotTaskInfo"
              }
            ]
          },
          "description": "<em>görev dizisi</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpScreenshotResultInfo

`#/components/schemas/Response36Afe1097B20_SerpScreenshotResultInfo`

```json
{
  "type": "object",
  "properties": {
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>sonuç dizisindeki öğe sayısı</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ScreenshotItem"
          }
        ]
      },
      "description": "<em>öğe dizisi</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpScreenshotTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpScreenshotTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpScreenshotResultInfo"
              }
            ]
          },
          "description": "<em>sonuç dizisi</em>"
        }
      }
    }
  ]
}
```
