# New & Lost Backlinks Timeseries Summary

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/backlinks/timeseries_new_lost_summary/live`

**Tags:** DataForSEO

New and lost backlinks and referring domains for one `target` per period, grouped by `group_range`. This is the derivative of `post_dataforseo_backlinks_timeseries_summary_live`: that one gives the level, this one the change. A flat total hiding heavy churn only shows up here. For the same figures across many targets at once use `post_dataforseo_backlinks_bulk_new_lost_backlinks_live`. This one takes no limit parameter, so the only lever is calling it less often.

### Pricing reference

- Metering: Reported response cost.
- Reference request estimate: USD 0.0372.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## 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": {
          "target": {
            "type": "string",
            "description": "<em>domain to get data for</em><br><strong>required field</strong><br>a domain should be specified without <code>https://</code> and <code>www.</code><br>example:<br><code>\"forbes.com\"</code>"
          },
          "date_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>starting date of the time range</em><br>optional field<br>this field indicates the date which will be used as a threshold for new and lost backlinks and referring domains;<br>the backlinks and referring domains that appeared in our index after the specified date will be considered as new;<br>the backlinks and referring domains that weren't found after the specified date, but were present before, will be considered as lost;<p>minimum value: <code>2019-01-30</code><br>maximum value shouldn't exceed the date specified in the <code>date_to</code><br>date format: <code>\"yyyy-mm-dd\"</code><br>example:<br><code>\"2021-01-01\"</code>"
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ending date of the time range</em><br>optional field<br>if you don't specify this field, the today's date will be used by default<br>minimum value shouldn't preceed the date specified in the <code>date_from</code><br>maximum value: today's date<br>date format: <code>\"yyyy-mm-dd\"</code><br>example:<br><code>\"2021-01-15\"</code>"
          },
          "group_range": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>time range which will be used to group the results</em><br>optional field<br>default value: <code>month</code><br>possible values: <code>day</code>, <code>week</code>, <code>month</code>, <code>year</code><p><strong>note:</strong> for <code>day</code>, we will return items corresponding to all dates between and including <code>date_from</code> and <code>date_to</code>;<br>for <code>week</code>/<code>month</code>/<code>year</code>, we will return items corresponding to full weeks/months/years, where each item will indicate the last day of the week/month/year<p>for example, if you specify: <br><code>\"group_range\": \"month\",<br>\"date_from\": \"2022-03-23\",<br>\"date_to\": \"2022-05-13\"</code><br>we will return items falling between 2022-03-01 and 2022-05-31, namely, three items corresponding to the following dates: <code>2022-03-31</code>, <code>2022-04-30</code>, <code>2022-05-31</code><p>if there is no data for a certain  <code>day</code>/<code>week</code>/<code>month</code>/<code>year</code>, we will return <code>0</code>"
          },
          "include_subdomains": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>indicates if the subdomains of the <code>target</code> will be included in the search</em><br>optional field<br>if set to <code>false</code>, the subdomains will be ignored<br>default value: <code>true</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>user-defined task identifier</em><br>optional field<br><em>the character limit is 255</em><br>you can use this parameter to identify the task and match it with the result<br>you will find the specified <code>tag</code> value in the <code>data</code> object of the response"
          }
        },
        "example": [
          {
            "target": "dataforseo.com",
            "date_from": "2021-12-01",
            "date_to": "2022-02-01",
            "group_range": "month"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "target": "dataforseo.com",
      "date_from": "2021-12-01",
      "date_to": "2022-02-01",
      "group_range": "month"
    }
  ]
}
```

## Responses

### 200 — Successful operation

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: object | null

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

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

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

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 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 — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveItem

`#/components/schemas/Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of element"
    },
    "date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>date and time when the data for the target was stored</em><br>in the UTC format: \"yyyy-mm-dd hh-mm-ss +00:00\"<br>example:<br><code>2019-11-15 12:57:46 +00:00</code>"
    },
    "new_backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of new backlinks</code></em><br>number of new backlinks pointing to the <code>target</code>",
      "format": "int64"
    },
    "lost_backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of lost backlinks</code></em><br>number of lost backlinks of the <code>target</code>",
      "format": "int64"
    },
    "new_referring_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of new referring domains</code></em><br>number of new referring domains pointing to the <code>target</code>",
      "format": "int64"
    },
    "lost_referring_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of lost referring domains</code></em><br>number of lost referring domains of the <code>target</code>",
      "format": "int64"
    },
    "new_referring_main_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of new referring main domains</code></em><br>number of new referring main domains pointing to the <code>target</code>",
      "format": "int64"
    },
    "lost_referring_main_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>number of lost referring main domains</code></em><br>number of lost referring main domains of the <code>target</code>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveResponseInfo`

```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_BacklinksTimeseriesNewLostSummaryLiveTaskInfo"
              }
            ]
          },
          "description": "<em>array of tasks</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveResultInfo

`#/components/schemas/Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "target": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><code>target</code> from a POST array</em>"
    },
    "date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>starting date of the time range</em><br>in the UTC format: “yyyy-mm-dd”<br>example:<br><code>2019-01-01</code>"
    },
    "date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ending date of the time range</em><br>in the UTC format: <code>\"yyyy-mm-dd\"</code><br>example:<br><code>\"2019-01-15\"</code>"
    },
    "group_range": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><code>group_range</code> from the POST array</em>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>the number of results returned in the <code>items</code> array</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveItem"
          }
        ]
      },
      "description": "<em>contains relevant backlinks and referring domains data</em>"
    }
  }
}
```

### Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_BacklinksTimeseriesNewLostSummaryLiveTaskInfo`

```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_BacklinksTimeseriesNewLostSummaryLiveResultInfo"
              }
            ]
          },
          "description": "<em>array of results</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "the current version of the API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "general status code\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "general informational message\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "total execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array returned with an error",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "task identifier\nunique task identifier in our system in the UUID format"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "status code of the task\ngenerated by DataForSEO, can be within the following range: 10000-60000\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "informational message of the task\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of elements in the result array",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL path"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "contains the same parameters that you specified in the POST request"
    }
  }
}
```
