DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
被リンク
1 つの target への個々の被リンク。リンクごとに 1 行です。total_count、items_count、items、およびページング用の search_after_token を返します。最初の数ページを超えたら、offset ではなくこのトークンを使用してください。mode と custom_mode がグループ化を制御し、backlinks_status_type がライブ、喪失、すべてを選択します。行ではなく件数が必要な場合は post_dataforseo_backlinks_summary_live、リンク元ドメインをグループ化して見る場合は post_dataforseo_backlinks_referring_domains_live を使用してください。
料金の参考情報
- 計量方式:レスポンスで報告されるコスト。
- 参考リクエスト見積もり:0.06 USD。
- 参考顧客乗数:1.0。確定済みの顧客金額に再適用しないでください。
参照用のメタデータのみであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。
- 型: array (object | null)[]
- backlinks型: string | null
_status _type 返してカウントする被リンクを設定
任意フィールド
このフィールドを使用して、targetに対して返し、集計メトリクスに使用する被リンクを選択できます;
指定可能な値:all- すべての被リンクを返してカウントします;live- 最後のチェックで見つかった被リンクを返してカウントします;lost- 失われた被リンクを返してカウントします;デフォルト値:
live - custom型: object | null
_mode 詳細な結果のグループ化タイプ
任意フィールド
このオブジェクトを使用して、fieldごとに指定した数の被リンクを取得しますcustom_modeを使用すると、modeは無視されます
例:"custom_mode": {"field": "domain", "value": 100}- property型: object | null
Name
- exclude型: boolean | null
_internal _backlinks サブドメインから
targetへの内部被リンクを結果から除外するかどうかを示します
任意フィールドtrueに設定すると、targetと同じドメインのサブドメインからの内部被リンクのデータは結果に含まれませんfalseに設定すると、内部リンクが結果に含まれます
デフォルト値:true - filters型: array (object | null)[] | null
結果フィルタリングパラメータの配列
任意フィールド
複数のフィルターを同時に追加できます(最大 8 個)
条件の間に論理演算子and、orを設定します
次の演算子がサポートされています:=,<>,in,not_in,like,not_like,ilike,not_ilike,regex,not_regex,match,not_match%演算子をlike、not_likeと組み合わせて、0 文字以上の任意の文字列に一致させることができます
例:["rank",">","80"][["page_from_rank",">","55"],
"and",
["dofollow","=",true]][["first_seen",">","2017-10-23 11:31:45 +00:00"],
"and",
[["anchor","like","%seo%"],"or",["text_pre","like","%seo%"]]]空のオブジェクト - include型: boolean | null
_subdomains targetのサブドメインを検索に含めるかどうかを示します
任意フィールドfalseに設定すると、サブドメインは無視されます
デフォルト値:true - limit型: integer | null
返される被リンクの最大数
任意フィールドデフォルト値:
100
最大値:1000 - mode型: string | null
結果のグループ化タイプ
任意フィールド
指定可能なグループ化タイプ:as_is- すべての被リンクを返しますone_per_domain- ドメインごとに 1 件の被リンクを返しますone_per_anchor- アンカーごとに 1 件の被リンクを返しますデフォルト値:
as_is - offset型: integer | null
返される被リンクの結果配列内のオフセット
任意フィールドデフォルト値:
010を指定すると、結果配列の最初の 10 件の被リンクがスキップされ、後続の被リンクのデータが返されます
注意: 最大値は20,000です。さらに多くの結果をオフセットする場合はsearch_after_tokenを使用してください - order型: array string[] | null
_by 結果の並び替えルール
任意フィールドfilters配列と同じ値を使用して結果を並び替えられます
指定可能な並び替えの種類:asc- 結果を昇順で並び替えますdesc- 結果を降順で並び替えます
並び替えの種類はカンマで設定します
例:["rank,desc"]
1 回のリクエストで設定できる並び替えルールは 3 つまでです
複数の並び替えルールはカンマで区切ります
例:["domain_from_rank,desc","page_from_rank,asc"] - rank型: string | null
_scale - search型: string | null
_after _token 後続のリクエスト用トークン
任意フィールド
各リクエストのレスポンスの対応するフィールドで提供されます
このパラメータを使用すると、1 回のリクエストで20,000件を超える結果を取得する際のタイムアウトを回避できます
レスポンス配列内の一意のsearch_after_token値を指定すると、最初のタスクの後続の結果を取得できますsearch_after_tokenの値は後続のタスクごとに一意です
注意: リクエストでsearch_after_tokenを指定する場合、他のすべてのパラメータは前のリクエストと同一である必要があります - tag型: string | null
ユーザー定義のタスク識別子
任意フィールド
文字数上限は 255 です
このパラメーターを使ってタスクを識別し、結果と照合できます
指定したtagの値は、レスポンスのdataオブジェクトに含まれます - target型: string
被リンクを取得するドメイン、サブドメイン、またはウェブページ
必須フィールド
ドメインまたはサブドメインはhttps://とwww.を付けずに指定します
ページは絶対 URL(http://またはhttps://を含む)で指定します
- 型: object | null · Response36Afe1097B20_BacklinksBacklinksLiveResponseInfo200
- 型: number | null 形式: doublecost
タスクの総コスト(USD)
- 型: integer | nullstatus
_code 一般的なステータスコード レスポンスコードの完全な一覧はこちらです
- 型: string | nullstatus
_message 一般的な情報メッセージ 一般的な情報メッセージの完全な一覧はこちらです
- 型: array (object | null)[] | nulltasks
タスクの配列
- 型: object | null · Response36Afe1097B20_BacklinksBacklinksLiveTaskInfo
- cost型: number | null 形式: double
タスクの総コスト(USD)
- data型: object | null
POST リクエストで指定したものと同じパラメーターを含みます
- property型: object | null
Name
- id型: string | null
タスク識別子 当社システム内で UUID 形式の一意のタスク識別子
- path型: array (string | null)[] | null
URL パス
- result型: array (object | null)[] | null
結果の配列
- custom型: object | null
_mode POST 配列で指定されたカスタムモード
- property型: object | null
Name
- items型: array (object | null)[] | null
関連する被リンクと参照ドメインのデータを含みます
- alt型: string | null
画像の代替テキスト
被リンクのtypeが image でない場合、このフィールドはnullになります - anchor型: string | null
被リンクのアンカーテキスト
- attributes型: array (string | null)[] | null
参照リンクのリンク属性
例:nofollow - backlink型: integer | null
_spam _score - dofollow型: boolean | null
被リンクが dofollow かどうかを示します
falseの場合、その被リンクは nofollow です - domain型: string | null
_from ターゲットドメインまたはウェブページを参照しているドメイン
- domain型: string | null
_from _country 参照ドメインの ISO 国コード
- domain型: string | null
_from _ip 参照ドメインの IP アドレス
- domain型: boolean | null
_from _is _ip そのドメインが IP かどうかを示します
trueの場合、そのドメインは IP アドレスとして機能し、ドメイン名を持ちません - domain型: array (string | null)[] | null
_from _platform _type 参照ドメインのプラットフォームタイプ
指定可能な値:
cms、blogs、ecommerce、message-boards、wikis、news、organization - domain型: integer | null
_from _rank - domain型: string | null
_to 被リンクが指しているドメイン
- first型: string | null
_seen クローラーが被リンクを初めて検出した日時
UTC 形式:“yyyy-mm-dd hh-mm-ss +00:00”
例:2019-11-15 12:57:46 +00:00 - group型: integer | null 形式: int64
_count このドメインからの被リンクの総数を示します
たとえば、modeがone_per_domainに設定されている場合、このフィールドはこのドメインからの被リンクの総数を示します - image型: string | null
_url 画像の URL
元のリソースまたは DataForSEO ストレージ内の画像への URL(元のソースが利用できない場合) - indirect型: array (object | null)[] | null
_link _path 間接リンクパス
url_toに至る 1 つの URL または一連の URL を示します- status型: integer | null
_code 一般的なステータスコード
レスポンスコードの完全なリストはこちらで確認できます
注:関連する例外やエラー状態を処理するための必要なシステムを設計することを強くお勧めします - type型: string | null
要素の種類
- url型: string | null
間接リンク URL
- is型: boolean | null
_broken 被リンクが壊れているかどうかを示します
trueの場合、その被リンクは 4xx または 5xx ステータスコードを返すページを指しています - is型: boolean | null
_indirect _link 被リンクが間接リンクかどうかを示します
trueの場合、その被リンクは、url_toにリダイレクトするページ、または正規ページを指す間接リンクです - is型: boolean | null
_lost 被リンクが削除されたかどうかを示します
trueの場合、その被リンクまたはページ全体が削除されています - is型: boolean | null
_new 被リンクが新規かどうかを示します
trueの場合、その被リンクはクローラーが前回ページにアクセスしたときに検出されたものです - item型: string | null
_type リンクタイプ
指定可能な値:anchor、image、meta、canonical、alternate、redirect - last型: string | null
_seen クローラーが被リンクに最後にアクセスした日時
UTC 形式:“yyyy-mm-dd hh-mm-ss +00:00”
例:2019-11-15 12:57:46 +00:00 - links型: integer | null 形式: int64
_count 参照ページで見つかった同一の被リンク数
- original型: boolean | null
クローラーが最初にアクセスしたときに被リンクが参照ページに存在していたかどうかを示します
- page型: string | null
_from _encoding 参照ページの文字エンコーディング
例:utf-8 - page型: integer | null
_from _external _links 参照ページで見つかった外部リンク数
- page型: integer | null
_from _internal _links 参照ページで見つかった内部リンク数
- page型: string | null
_from _language 参照ページの言語
ISO 639-1 形式
例:en - page型: integer | null
_from _rank - page型: integer | null
_from _size 参照ページのサイズ(バイト単位)
例:63357 - page型: integer | null
_from _status _code 参照ページが返す HTTP ステータスコード
例:200 - page型: string | null
_from _title 参照ページのタイトル
- prev型: string | null
_seen クローラーが被リンクに最後にアクセスする前の日時
UTC 形式:“yyyy-mm-dd hh-mm-ss +00:00”
例:2019-11-15 12:57:46 +00:00 - rank型: integer | null
- ranked型: object | null · Response36Afe1097B20_RankedKeywordsInfo
_keywords _info - page型: integer | null 形式: int64
_from _keywords _count _top _10 Signed 64-bit integers (long type).
- page型: integer | null 形式: int64
_from _keywords _count _top _100 Signed 64-bit integers (long type).
- page型: integer | null 形式: int64
_from _keywords _count _top _3 Signed 64-bit integers (long type).
- semantic型: string | null
_location - text型: string | null
_post アンカーテキストの後のスニペット
- text型: string | null
_pre アンカーテキストの前のスニペット
- tld型: string | null
_from 参照 URL のトップレベルドメイン
- type型: string | null
要素の種類
- url型: string | null
_from 被リンクが見つかったページの URL
- url型: boolean | null
_from _https 参照 URL が HTTPS で保護されているかどうかを示します
trueの場合、その参照 URL は HTTPS で保護されています - url型: string | null
_to 被リンクが指している URL
- url型: boolean | null
_to _https 被リンクが指している URL が HTTPS で保護されているかどうかを示します
trueの場合、その URL は HTTPS で保護されています - url型: string | null
_to _redirect _target リダイレクト先の URL
リダイレクトが指しているターゲットページ - url型: integer | null
_to _spam _score - url型: integer | null
_to _status _code 参照先ページのステータスコード
値がnullの場合、クローラーはリンク先のウェブページにまだアクセスしていません
例:200
- items型: integer | null 形式: int64
_count items配列で返される結果の数 - mode型: string | null
POST 配列で指定されたモード
- search型: string | null
_after _token 後続のリクエスト用のトークン
新しいタスクを設定するときに一意のsearch_after_tokenを指定すると、最初のタスクの後続結果を取得できます;search_after_tokenの値は後続のタスクごとに一意です - target型: string | null
POST 配列のターゲットドメイン
- total型: integer | null 形式: int64
_count リクエストに関連する結果の総数
- result型: integer | null 形式: int64
_count result 配列内の要素数
- status型: integer | null
_code タスクのステータスコード DataForSEO によって生成され、次の範囲の値になります: 10000-60000 レスポンスコードの完全な一覧はこちらです
- status型: string | null
_message タスクの情報メッセージ 一般的な情報メッセージの完全な一覧はこちらです
- time型: string | null
実行時間(秒)
- 型: integer | null 形式: int64tasks
_count tasks 配列内のタスク数
- 型: integer | null 形式: int64tasks
_error エラーで返された tasks 配列内のタスク数
- 型: string | nulltime
合計実行時間(秒)
- 型: string | nullversion
API の現在のバージョン
application/json - 400
リクエストを処理できませんでした。リクエストパラメータを確認してください。
- 401
有効な Felo API キーが必要です。
- 402
請求要件が満たされていないため、リクエストを続行できません。
- 403
このアカウントにはこの操作を行う権限がありません。
- 429
リクエストまたは支出の上限に達しました。
- 502
サービスがリクエストを完了できませんでした。
- 503
API または請求サービスが一時的に利用できません。
- 504
リクエストの処理中にサービスがタイムアウトしました。
- default
エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります
application/json
curl https://openapi.felo.ai/v1/beta/dataforseo/backlinks/backlinks/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"target": "forbes.com",
"mode": "as_is",
"filters": [
"dofollow",
"=",
true
],
"limit": 5
}
]'
{
"version": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"tasks_count": null,
"tasks_error": null,
"tasks": [
{
"id": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"result_count": null,
"path": [
null
],
"data": null,
"result": [
{
"target": null,
"mode": null,
"custom_mode": null,
"total_count": null,
"items_count": null,
"items": [
{
"type": null,
"domain_from": null,
"url_from": null,
"url_from_https": null,
"domain_to": null,
"url_to": null,
"url_to_https": null,
"tld_from": null,
"is_new": null,
"is_lost": null,
"backlink_spam_score": null,
"rank": null,
"page_from_rank": null,
"domain_from_rank": null,
"domain_from_platform_type": [
"[Max Depth Exceeded]"
],
"domain_from_is_ip": null,
"domain_from_ip": null,
"domain_from_country": null,
"page_from_external_links": null,
"page_from_internal_links": null,
"page_from_size": null,
"page_from_encoding": null,
"page_from_language": null,
"page_from_title": null,
"page_from_status_code": null,
"first_seen": null,
"prev_seen": null,
"last_seen": null,
"item_type": null,
"attributes": [
"[Max Depth Exceeded]"
],
"dofollow": null,
"original": null,
"alt": null,
"image_url": null,
"anchor": null,
"text_pre": null,
"text_post": null,
"semantic_location": null,
"links_count": null,
"group_count": null,
"is_broken": null,
"url_to_status_code": null,
"url_to_spam_score": null,
"url_to_redirect_target": null,
"ranked_keywords_info": "[Max Depth Exceeded]",
"is_indirect_link": null,
"indirect_link_path": [
"[Max Depth Exceeded]"
]
}
],
"search_after_token": null
}
]
}
]
}