# Web Cloud › Internet › Eligibility › Search API

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> The Web Cloud product's sections: https://developers.eu.ovhcloud.com/reference/web-cloud/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

> 10 operations of the OVHcloud API. Calls carry `authorization: Bearer $OVH_TOKEN`; the EU host is shown, Canada and the United States answer on api.ca.ovhcloud.com and api.us.ovhcloud.com.

Page: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/

OpenAPI v1: https://api.eu.ovhcloud.com/1.0/__schemas/developer-hub-navigation/web-cloud/internet/eligibility/search.json?format=openapi3
OpenAPI v2: https://api.eu.ovhcloud.com/v2/__schemas/developer-hub-navigation/web-cloud/internet/eligibility/search.json?format=openapi3

## Operations

- `POST /connectivity/eligibility/search/addresses` — Search the addresses near a location
- `POST /connectivity/eligibility/search/buildingDetails` — Get the details of a building
- `POST /connectivity/eligibility/search/buildings` — Search the buildings of an address
- `POST /connectivity/eligibility/search/buildingsByLine` — Search the buildings of a line number
- `POST /connectivity/eligibility/search/cities` — Search the localities of a zip code
- `POST /connectivity/eligibility/search/lines` — Search the lines at an address
- `POST /connectivity/eligibility/search/meetings` — Search the installation meeting slots
- `POST /connectivity/eligibility/search/streetNumbers` — Search the numbers of a street
- `POST /connectivity/eligibility/search/streetNumbers/details` — Search the numbers of a street with their details
- `POST /connectivity/eligibility/search/streets` — Search the streets of a locality

## Search the addresses near a location

`POST /1.0/connectivity/eligibility/search/addresses`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#eligibilitySearchAddresses

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the addresses around a GPS location with their coordinates, street code, building reference and distance. The search radius is 10 meters by default.

### Request body (required)

Type: `connectivity.eligibility.search.addresses.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `distance` | integer |  | Distance in meters to search for from initial location (default is 10 meters) |
| `latitude` | string | yes | Latitude |
| `longitude` | string | yes | Longitude |

```json
{
  "distance": 0,
  "latitude": "string",
  "longitude": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.AddressWithCoordinates | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.AddressWithCoordinates[] | read-only |  |
| `result[].buildingName` | string | read-only | Building name |
| `result[].buildingReference` | string | read-only | Building reference |
| `result[].city` | string | read-only | City name |
| `result[].distance` | string | read-only | Distance from original source, if applicable |
| `result[].inseeCode` | string | read-only | INSEE code |
| `result[].latitude` | string | read-only | Latitude |
| `result[].longitude` | string | read-only | Longitude |
| `result[].streetCode` | string | read-only | Street code, an unique identifier of the street |
| `result[].streetName` | string | read-only | Street name |
| `result[].streetNumber` | string | read-only | Street number, usually a number and an indication if applicable (B for bis, T for ter, etc...) and hidden for unlisted number |
| `result[].zipCode` | string | read-only | ZIP code |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "buildingName": "string",
      "buildingReference": "string",
      "city": "string",
      "distance": "string",
      "inseeCode": "string",
      "latitude": "string",
      "longitude": "string",
      "streetCode": "string",
      "streetName": "string",
      "streetNumber": "string",
      "zipCode": "string"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/addresses" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.addresses.post
result = client.post("/connectivity/eligibility/search/addresses",
	distance = None, # Distance in meters to search for from initial location (default is 10 meters) (type: integer)
	latitude = None, # Latitude (type: string)
	longitude = None, # Longitude (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.addresses.post
$result = $ovh->post("/connectivity/eligibility/search/addresses", array(
	distance => null, // Distance in meters to search for from initial location (default is 10 meters) (type: integer)
	latitude => null, // Latitude (type: string)
	longitude => null, // Longitude (type: string)
));

print_r($result);
?>
```

## Get the details of a building

`POST /1.0/connectivity/eligibility/search/buildingDetails`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getBuildingDetails

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the name, type, NRO and stairs of a building given by its identifier. Get the identifier with the search/buildings calls.

### Request body (required)

Type: `connectivity.eligibility.search.buildingDetails.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `building` | string | yes | Building identifier, that can be found using /connectivity/eligibility/search/building* methods |
| `forceProvider` | string |  | If possible, force to use a particular provider repository |

```json
{
  "building": "string",
  "forceProvider": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTask_connectivity.eligibility.Building | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Building | read-only | Details of a Building |
| `result.name` | string | read-only | Building name |
| `result.nro` | string | read-only | Building NRO (Optical main distribution frame) |
| `result.reference` | string | read-only | Identifier which refer to a building uniquely |
| `result.stairs` | connectivity.eligibility.BuildingStair[] | read-only | Stairs for this building |
| `result.stairs[].floors` | string[] | read-only | List of floor indentifier, "_NA_" if no identifier is available |
| `result.stairs[].stair` | string | read-only | Stair identifier, "_NA_" if no identifier is available |
| `result.type` | connectivity.eligibility.BuildingTypeEnum | read-only | Building type — one of `BUILDING`, `HOUSE` |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": {
    "name": "string",
    "nro": "string",
    "reference": "string",
    "stairs": [
      {
        "floors": [
          "string"
        ],
        "stair": "string"
      }
    ],
    "type": "BUILDING"
  },
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/buildingDetails" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.buildingDetails.post
result = client.post("/connectivity/eligibility/search/buildingDetails",
	building = None, # Building identifier, that can be found using /connectivity/eligibility/search/building* methods (type: string)
	forceProvider = None, # If possible, force to use a particular provider repository (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.buildingDetails.post
$result = $ovh->post("/connectivity/eligibility/search/buildingDetails", array(
	building => null, // Building identifier, that can be found using /connectivity/eligibility/search/building* methods (type: string)
	forceProvider => null, // If possible, force to use a particular provider repository (type: string)
));

print_r($result);
?>
```

## Search the buildings of an address

`POST /1.0/connectivity/eligibility/search/buildings`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getBuildings

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the buildings at an address with their reference, name, type, NRO and stairs. The address needs at least a street code and street number, or a Hexacle.

### Request body (required)

Type: `connectivity.eligibility.search.buildings.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `hexacle` | string |  | Hexacle is a French unique identifier of the address (you can get it with POST /connectivity/eligibility/search/streetNumbers/details) |
| `streetAltCode` | string |  | A possible alternative identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) |
| `streetCode` | string |  | Unique identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) |
| `streetNumber` | string |  | Street number |

```json
{
  "hexacle": "string",
  "streetAltCode": "string",
  "streetCode": "string",
  "streetNumber": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.Building | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Building[] | read-only |  |
| `result[].name` | string | read-only | Building name |
| `result[].nro` | string | read-only | Building NRO (Optical main distribution frame) |
| `result[].reference` | string | read-only | Identifier which refer to a building uniquely |
| `result[].stairs` | connectivity.eligibility.BuildingStair[] | read-only | Stairs for this building |
| `result[].stairs[].floors` | string[] | read-only | List of floor indentifier, "_NA_" if no identifier is available |
| `result[].stairs[].stair` | string | read-only | Stair identifier, "_NA_" if no identifier is available |
| `result[].type` | connectivity.eligibility.BuildingTypeEnum | read-only | Building type — one of `BUILDING`, `HOUSE` |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "name": "string",
      "nro": "string",
      "reference": "string",
      "stairs": [
        {
          "floors": [
            "string"
          ],
          "stair": "string"
        }
      ],
      "type": "BUILDING"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/buildings" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.buildings.post
result = client.post("/connectivity/eligibility/search/buildings",
	hexacle = None, # Hexacle is a French unique identifier of the address (you can get it with POST /connectivity/eligibility/search/streetNumbers/details) (type: string)
	streetAltCode = None, # A possible alternative identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) (type: string)
	streetCode = None, # Unique identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) (type: string)
	streetNumber = None, # Street number (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.buildings.post
$result = $ovh->post("/connectivity/eligibility/search/buildings", array(
	hexacle => null, // Hexacle is a French unique identifier of the address (you can get it with POST /connectivity/eligibility/search/streetNumbers/details) (type: string)
	streetAltCode => null, // A possible alternative identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) (type: string)
	streetCode => null, // Unique identifier of the street (you can get it with POST /connectivity/eligibility/search/streets) (type: string)
	streetNumber => null, // Street number (type: string)
));

print_r($result);
?>
```

## Search the buildings of a line number

`POST /1.0/connectivity/eligibility/search/buildingsByLine`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getBuildingsByLine

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the buildings linked to a line number and its status, with their reference, name, type, NRO and stairs.

### Request body (required)

Type: `connectivity.eligibility.search.buildingsByLine.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `lineNumber` | string | yes | Line number |
| `status` | connectivity.eligibility.LineStatusEnum | yes | Line status — one of `active`, `inactive` |

```json
{
  "lineNumber": "string",
  "status": "active"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.Building | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Building[] | read-only |  |
| `result[].name` | string | read-only | Building name |
| `result[].nro` | string | read-only | Building NRO (Optical main distribution frame) |
| `result[].reference` | string | read-only | Identifier which refer to a building uniquely |
| `result[].stairs` | connectivity.eligibility.BuildingStair[] | read-only | Stairs for this building |
| `result[].stairs[].floors` | string[] | read-only | List of floor indentifier, "_NA_" if no identifier is available |
| `result[].stairs[].stair` | string | read-only | Stair identifier, "_NA_" if no identifier is available |
| `result[].type` | connectivity.eligibility.BuildingTypeEnum | read-only | Building type — one of `BUILDING`, `HOUSE` |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "name": "string",
      "nro": "string",
      "reference": "string",
      "stairs": [
        {
          "floors": [
            "string"
          ],
          "stair": "string"
        }
      ],
      "type": "BUILDING"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/buildingsByLine" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.buildingsByLine.post
result = client.post("/connectivity/eligibility/search/buildingsByLine",
	lineNumber = None, # Line number (type: string)
	status = None, # Line status (type: connectivity.eligibility.LineStatusEnum)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.buildingsByLine.post
$result = $ovh->post("/connectivity/eligibility/search/buildingsByLine", array(
	lineNumber => null, // Line number (type: string)
	status => null, // Line status (type: connectivity.eligibility.LineStatusEnum)
));

print_r($result);
?>
```

## Search the localities of a zip code

`POST /1.0/connectivity/eligibility/search/cities`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getCities

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the cities and localities linked to a zip code with their INSEE code. Use the INSEE code to search the streets of a locality.

### Request body (required)

Type: `connectivity.eligibility.search.Cities`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `zipCode` | string | yes | Zip code |

```json
{
  "zipCode": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.City | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.City[] | read-only |  |
| `result[].city` | string | read-only | Name of the city |
| `result[].inseeCode` | string | read-only | INSEE code of the city |
| `result[].locality` | string | read-only | Locality (subset of a city) |
| `result[].zipCode` | string | read-only | Zip code of the city |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "city": "string",
      "inseeCode": "string",
      "locality": "string",
      "zipCode": "string"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/cities" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.Cities
result = client.post("/connectivity/eligibility/search/cities",
	zipCode = None, # Zip code (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.Cities
$result = $ovh->post("/connectivity/eligibility/search/cities", array(
	zipCode => null, // Zip code (type: string)
));

print_r($result);
?>
```

## Search the lines at an address

`POST /1.0/connectivity/eligibility/search/lines`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getLines

**Status:** Deprecated, will be removed  
**Authentication:** none (public operation)  
**Deprecated** since 2026-04-08, removed on 2026-07-08.

**Deprecated**: this endpoint is scheduled for deletion. Returns, as an asynchronous task, the inactive copper lines at an address, and the active ones when the owner name is given (at least its first three characters).

### Request body (required)

Type: `connectivity.eligibility.search.lines.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `ownerName` | string |  | Owner name, at least the first three chars |
| `streetCode` | string | yes | Street code, that can be found using /connectivity/eligibility/search/streets method |
| `streetNumber` | string | yes | Street number, that can be found using /connectivity/eligibility/search/streetNumbers method |

```json
{
  "ownerName": "string",
  "streetCode": "string",
  "streetNumber": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.Line | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Line[] | read-only |  |
| `result[].address` | connectivity.eligibility.Address | read-only | Address |
| `result[].address.building` | string | read-only | Name of the building, if any |
| `result[].address.city` | string | read-only | City name |
| `result[].address.door` | string | read-only | Identifier of the door, if any |
| `result[].address.floor` | string | read-only | Identifier of the floor, if any |
| `result[].address.housingComplex` | string | read-only | Name of the housing complex, if any |
| `result[].address.inseeCode` | string | read-only | INSEE code |
| `result[].address.ownerName` | string | read-only | Owner name, this information can be restricted |
| `result[].address.stairs` | string | read-only | Identifier of the stair, if any |
| `result[].address.streetCode` | string | read-only | Street code, an unique identifier of the street, hidden for unlisted number |
| `result[].address.streetName` | string | read-only | Street name, hidden for unlisted number |
| `result[].address.streetNumber` | string | read-only | Street number, usually a number and an indication if applicable (B for bis, T for ter, etc...) and hidden for unlisted number |
| `result[].address.zipCode` | string | read-only | ZIP code |
| `result[].copperInfo` | connectivity.eligibility.CopperInfo | read-only | Copper information |
| `result[].copperInfo.availablePairs` | integer | read-only | Number of available pairs. This is given only for an eligibility test. |
| `result[].copperInfo.maxAvailablePairs` | integer | read-only | Number of maximun available pairs using desaturation. This is given only for an eligibility test. |
| `result[].copperInfo.nra` | string | read-only | NRA ("Nœud de raccordement abonné" in french) is an identifier of the building where is the Main Distribution Frames for the copper line. This is given only for an eligibility test. |
| `result[].copperInfo.sectionsLengths` | connectivity.eligibility.SectionLength[] | read-only | Sections lengths of the copper line. This is given only for an eligibility test. |
| `result[].copperInfo.status` | connectivity.eligibility.LineStatusEnum | read-only | Line status — one of `active`, `inactive` |
| `result[].copperInfo.underConstruction` | boolean | read-only | Is the line under construction ? This is given only for an eligibility test. |
| `result[].copperInfo.unlistedNumber` | boolean | read-only | Is the number unlisted ? ("sur liste rouge" in french) |
| `result[].lineNumber` | string | read-only | Line number |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "address": {
        "building": "string",
        "city": "string",
        "door": "string",
        "floor": "string",
        "housingComplex": "string",
        "inseeCode": "string",
        "ownerName": "string",
        "stairs": "string",
        "streetCode": "string",
        "streetName": "string",
        "streetNumber": "string",
        "zipCode": "string"
      },
      "copperInfo": {
        "availablePairs": 0,
        "maxAvailablePairs": 0,
        "nra": "string",
        "sectionsLengths": [
          {
            "diameter": 0,
            "length": 0
          }
        ],
        "status": "active",
        "underConstruction": true,
        "unlistedNumber": true
      },
      "lineNumber": "string"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/lines" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.lines.post
result = client.post("/connectivity/eligibility/search/lines",
	ownerName = None, # Owner name, at least the first three chars (type: string)
	streetCode = None, # Street code, that can be found using /connectivity/eligibility/search/streets method (type: string)
	streetNumber = None, # Street number, that can be found using /connectivity/eligibility/search/streetNumbers method (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.lines.post
$result = $ovh->post("/connectivity/eligibility/search/lines", array(
	ownerName => null, // Owner name, at least the first three chars (type: string)
	streetCode => null, // Street code, that can be found using /connectivity/eligibility/search/streets method (type: string)
	streetNumber => null, // Street number, that can be found using /connectivity/eligibility/search/streetNumbers method (type: string)
));

print_r($result);
?>
```

## Search the installation meeting slots

`POST /1.0/connectivity/eligibility/search/meetings`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getMeetings

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the available time slots for a copper line creation or a fiber installation meeting, for an eligibility test reference and a chosen offer.

### Request body (required)

Type: `connectivity.eligibility.search.meetings.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `eligibilityReference` | string | yes | Eligibility test reference |
| `installationType` | connectivity.eligibility.InstallationTypeEnum |  | Installation type, for fiber only — one of `activate`, `activate_undefined`, `create`, `multiOtp` |
| `otp` | string |  | Fill in this field with your OTP reference if you have one |
| `planCode` | string |  | Offer plan code |
| `productCode` | string |  | Choosen offer product code |
| `siteCompanyName` | string |  | Site company name, please use the name and firstname for an individual |
| `technicalVisit` | connectivity.eligibility.TechnicalVisitTypeEnum |  | Special case to ask a technical visit on Fiber installation — one of `complex`, `simple` |
| `type` | connectivity.eligibility.OfferProductTypeEnum |  | Offer product type — one of `ADSL`, `FTTE`, `FTTH`, `FTTO`, `SDSL`, `VDSL` |
| `unbundlingType` | connectivity.eligibility.OfferProductUnbundlingTypeEnum |  | Offer product unbundling type — one of `full`, `partial` |

```json
{
  "eligibilityReference": "string",
  "installationType": "activate",
  "otp": "string",
  "planCode": "string",
  "productCode": "string",
  "siteCompanyName": "string",
  "technicalVisit": "complex",
  "type": "ADSL",
  "unbundlingType": "full"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTask_connectivity.eligibility.Meetings | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Meetings | read-only | List of available meeting time slots |
| `result.canBookFakeMeeting` | boolean | read-only | Whether or not it is possible to book a fake meeting |
| `result.capacities` | connectivity.eligibility.MeetingCapacities | read-only | Represents meeting booking options |
| `result.capacities.eRdv` | boolean | read-only | Whether or not it is possible to book a meeting online |
| `result.capacities.phoneCall` | boolean | read-only | Whether or not it is possible to be be called by phone to book a meeting |
| `result.meetingSlots` | connectivity.eligibility.MeetingSlot[] | read-only | A time slot |
| `result.meetingSlots[].endDate` | string (date-time) | read-only | End date |
| `result.meetingSlots[].slotId` | string | read-only | Represent a meeting id for a fiber collect operator |
| `result.meetingSlots[].startDate` | string (date-time) | read-only | Start date |
| `result.meetingSlots[].uiCode` | string | read-only | An opaque string that represents an intervention unit |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": {
    "canBookFakeMeeting": true,
    "capacities": {
      "eRdv": true,
      "phoneCall": true
    },
    "meetingSlots": [
      {
        "endDate": "2024-01-01T12:00:00Z",
        "slotId": "string",
        "startDate": "2024-01-01T12:00:00Z",
        "uiCode": "string"
      }
    ]
  },
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/meetings" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.meetings.post
result = client.post("/connectivity/eligibility/search/meetings",
	eligibilityReference = None, # Eligibility test reference (type: string)
	installationType = None, # Installation type, for fiber only (type: connectivity.eligibility.InstallationTypeEnum)
	otp = None, # Fill in this field with your OTP reference if you have one (type: string)
	planCode = None, # Offer plan code (type: string)
	productCode = None, # Choosen offer product code (type: string)
	siteCompanyName = None, # Site company name, please use the name and firstname for an individual (type: string)
	technicalVisit = None, # Special case to ask a technical visit on Fiber installation (type: connectivity.eligibility.TechnicalVisitTypeEnum)
	type = None, # Offer product type (type: connectivity.eligibility.OfferProductTypeEnum)
	unbundlingType = None, # Offer product unbundling type (type: connectivity.eligibility.OfferProductUnbundlingTypeEnum)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.meetings.post
$result = $ovh->post("/connectivity/eligibility/search/meetings", array(
	eligibilityReference => null, // Eligibility test reference (type: string)
	installationType => null, // Installation type, for fiber only (type: connectivity.eligibility.InstallationTypeEnum)
	otp => null, // Fill in this field with your OTP reference if you have one (type: string)
	planCode => null, // Offer plan code (type: string)
	productCode => null, // Choosen offer product code (type: string)
	siteCompanyName => null, // Site company name, please use the name and firstname for an individual (type: string)
	technicalVisit => null, // Special case to ask a technical visit on Fiber installation (type: connectivity.eligibility.TechnicalVisitTypeEnum)
	type => null, // Offer product type (type: connectivity.eligibility.OfferProductTypeEnum)
	unbundlingType => null, // Offer product unbundling type (type: connectivity.eligibility.OfferProductUnbundlingTypeEnum)
));

print_r($result);
?>
```

## Search the numbers of a street

`POST /1.0/connectivity/eligibility/search/streetNumbers`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getStreetNumbers

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the available street numbers of a street given by its street code. Get the street code with search/streets.

### Request body (required)

Type: `connectivity.eligibility.search.streetNumbers.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `streetAltCode` | string |  | Street alternative code, a possible alternative identifier of the street |
| `streetCode` | string | yes | Street code, an unique identifier of the street |

```json
{
  "streetAltCode": "string",
  "streetCode": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_string | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | string[] | read-only |  |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    "string"
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/streetNumbers" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.streetNumbers.post
result = client.post("/connectivity/eligibility/search/streetNumbers",
	streetAltCode = None, # Street alternative code, a possible alternative identifier of the street (type: string)
	streetCode = None, # Street code, an unique identifier of the street (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.streetNumbers.post
$result = $ovh->post("/connectivity/eligibility/search/streetNumbers", array(
	streetAltCode => null, // Street alternative code, a possible alternative identifier of the street (type: string)
	streetCode => null, // Street code, an unique identifier of the street (type: string)
));

print_r($result);
?>
```

## Search the numbers of a street with their details

`POST /1.0/connectivity/eligibility/search/streetNumbers/details`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getStreetNumbersDetails

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the available street numbers of a street given by its street code, each with its Hexacle address identifier. Get the street code with search/streets.

### Request body (required)

Type: `connectivity.eligibility.search.streetNumbers.details.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `streetAltCode` | string |  | Street alternative code, a possible alternative identifier of the street |
| `streetCode` | string | yes | Street code, an unique identifier of the street |

```json
{
  "streetAltCode": "string",
  "streetCode": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.StreetNumberDetails | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.StreetNumberDetails[] | read-only |  |
| `result[].hexacle` | string | read-only | Hexacle is a French unique identifier of the address |
| `result[].number` | string | read-only | Street number |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "hexacle": "string",
      "number": "string"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/streetNumbers/details" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.streetNumbers.details.post
result = client.post("/connectivity/eligibility/search/streetNumbers/details",
	streetAltCode = None, # Street alternative code, a possible alternative identifier of the street (type: string)
	streetCode = None, # Street code, an unique identifier of the street (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.streetNumbers.details.post
$result = $ovh->post("/connectivity/eligibility/search/streetNumbers/details", array(
	streetAltCode => null, // Street alternative code, a possible alternative identifier of the street (type: string)
	streetCode => null, // Street code, an unique identifier of the street (type: string)
));

print_r($result);
?>
```

## Search the streets of a locality

`POST /1.0/connectivity/eligibility/search/streets`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/internet/eligibility/search/#getStreets

**Status:** Stable production version  
**Authentication:** none (public operation)

Returns, as an asynchronous task, the streets of a locality given by its INSEE code, with their name, street code and alternative code. Get the INSEE code with search/cities.

### Request body (required)

Type: `connectivity.eligibility.search.streets.post`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `inseeCode` | string | yes | French INSEE identifier (you can get it with POST /connectivity/eligibility/search/cities) |

```json
{
  "inseeCode": "string"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | xdsl.AsyncTaskArray_connectivity.eligibility.Street | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | read-only |  |
| `result` | connectivity.eligibility.Street[] | read-only |  |
| `result[].streetAltCode` | string | read-only | Street alternative code, a possible alternative identifier of the street |
| `result[].streetCode` | string | read-only | Street code, an unique identifier of the street |
| `result[].streetName` | string | read-only | Street name |
| `status` | xdsl.AsyncTaskStatusEnum | read-only | AsyncTask status — one of `error`, `ok`, `pending` |

```json
{
  "error": "string",
  "result": [
    {
      "streetAltCode": "string",
      "streetCode": "string",
      "streetName": "string"
    }
  ],
  "status": "error"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/connectivity/eligibility/search/streets" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: connectivity.eligibility.search.streets.post
result = client.post("/connectivity/eligibility/search/streets",
	inseeCode = None, # French INSEE identifier (you can get it with POST /connectivity/eligibility/search/cities) (type: string)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: connectivity.eligibility.search.streets.post
$result = $ovh->post("/connectivity/eligibility/search/streets", array(
	inseeCode => null, // French INSEE identifier (you can get it with POST /connectivity/eligibility/search/cities) (type: string)
));

print_r($result);
?>
```
