---
title: "Cross Border Physical Flows"
method: GET
path: "/cbpf"
tags: ["import_export"]
---

# Cross Border Physical Flows

`GET /cbpf`

Returns the cross-border physical flows (cbpfs) of electricity in GW between a specified country and its neighbors.
        

Positive values indicate an import of electricity, whereas negative values show electricity exports.
        


        

Response schema:
        

```json
{
    "unix_seconds": [int],
    "countries": [
        {
        "name": str,
        "data": [float]
        }
    ],
    "deprecated": bool
}
```

## Query parameters

- `country` string
- `start` string
- `end` string

## Response `200`

Successful Response

- CrossBorderModel
  - `unix_seconds` integer[], nullable
  - `countries` NamedData[], nullable
    - `name` string, required
    - `data` number[], required
  - `deprecated` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/energy-charts/apis/energy-charts-api.md) · [All operations](https://skmtc.net/energy-charts/apis/energy-charts-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/energy-charts/energy-charts-api/versions/ebf9e22a0925/schema)
