Felo API PlatformFelo API Platform

Data API / DataForSEO / Business Data

Live Social Media Pinterest Tasks

How many times each of targets has been pinned on Pinterest. Returns type, page_url and pins_count per URL. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Takes a list, so check a whole site's pages in one call. For Pinterest content rather than counts, the pinterest server reads the platform directly.

Параметры

Параметров пути, запроса и заголовков нет.

Тело запроса

  • targetsstring[]Обязательный

    target URLs required field target page should be specified with its absolute URL (including http:// or https://) example: https://dataforseo.com/Note: you can specify 10 targets maximum. You will be charged per earch URL you specify in this array

  • tagstringНеобязательный

    user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

Пример запроса

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/business_data/social_media/pinterest/live" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "targets": [
    "<string>"
  ],
  "tag": "<string>"
}'

Ответ

Поля ответа

  • versionstringНеобязательный

    the current version of the API

  • status_codeintegerНеобязательный

    general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions

  • status_messagestringНеобязательный

    general informational message you can find the full list of general informational messages here

  • timestringНеобязательный

    execution time, seconds

  • costnumberНеобязательный

    total tasks cost, USD

  • tasks_countintegerНеобязательный

    *the number of tasks in the tasksarray*

  • tasks_errorintegerНеобязательный

    *the number of tasks in the tasks array returned with an error*

  • tasksstring[]Необязательный

    array of tasks

  • idstringНеобязательный

    unique task identifier in our system in the Universally unique identifier (UUID) format

  • status_codeintegerНеобязательный

    status code of the task generated by DataForSEO; can be within the following range: 10000-60000

  • status_messagestringНеобязательный

    informational message of the task

  • timestringНеобязательный

    execution time, seconds

  • costnumberНеобязательный

    cost of the task, USD

  • result_countintegerНеобязательный

    number of elements in the result array

  • pathstring[]Необязательный

    URL path

  • dataobjectНеобязательный

    contains the same parameters that you specified in the POST request

  • resultstring[]Необязательный

    array of results

  • typestringНеобязательный

    *type of element = ‘social\_media\_pinterest\_item’*

  • page_urlstringНеобязательный

    URL of the page the data is provided for corresponding URL you specified in the targets array when setting a task

  • pins_countintegerНеобязательный

    number of pins for the related page_url pins on Pinterest correspond to content saves; this field shows the number of content saves made from the related page_url using the Pinterest Save Button