Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Live Social Media Pinterest Tasks

Сервер:https://openapi.felo.ai
Клиентские библиотеки

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility 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.

Тело
обязательно
application/json
  • Тип: array object[]
    • targets
      Тип: array string[]
      обязательно

      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

    • tag
      Тип: string

      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

Ответы
  • 200
    Тип: object

    Successful response

    • result
      Тип: array string[]

      array of results

    • result.page_url
      Тип: string

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

    • result.pins_count
      Тип: integer

      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

    • result.type
      Тип: string

      type of element = ‘social_media_pinterest_item’

    • tasks
      Тип: array string[]

      array of tasks

    • tasks.cost
      Тип: number

      cost of the task, USD

    • tasks.data
      Тип: object

      contains the same parameters that you specified in the POST request

    • tasks.id
      Тип: string

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

    • tasks.path
      Тип: array string[]

      URL path

    • tasks.result_count
      Тип: integer

      number of elements in the result array

    • tasks.status_code
      Тип: integer

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

    • tasks.status_message
      Тип: string

      informational message of the task

    • tasks.time
      Тип: string

      execution time, seconds

    • version
      Тип: string

      the current version of the API

    • version.cost
      Тип: number

      total tasks cost, USD

    • version.status_code
      Тип: integer

      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

    • version.status_message
      Тип: string

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

    • version.tasks_count
      Тип: integer

      *the number of tasks in the **tasks*array

    • version.tasks_error
      Тип: integer

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

    • version.time
      Тип: string

      execution time, seconds

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/business_data/social_media/pinterest/live
curl https://openapi.felo.ai/v1/beta/dataforseo/business_data/social_media/pinterest/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "targets": [
      ""
    ],
    "tag": ""
  }
]'
{
  "version": "string",
  "version.status_code": 1,
  "version.status_message": "string",
  "version.time": "string",
  "version.cost": 1,
  "version.tasks_count": 1,
  "version.tasks_error": 1,
  "tasks": [
    "string"
  ],
  "tasks.id": "string",
  "tasks.status_code": 1,
  "tasks.status_message": "string",
  "tasks.time": "string",
  "tasks.cost": 1,
  "tasks.result_count": 1,
  "tasks.path": [
    "string"
  ],
  "tasks.data": {},
  "result": [
    "string"
  ],
  "result.type": "string",
  "result.page_url": "string",
  "result.pins_count": 1
}
Live Social Media Pinterest Tasks