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