OVHcloud Supply API
The Supply API from OVHcloud — 1 operation(s) for supply.
The Supply API from OVHcloud — 1 operation(s) for supply.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ovh:ovh-supply-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ovh Supply API
version: '1.0'
contact:
name: OVH
email: api@ml.ovh.net
description: 'Operations tagged Supply across 2 of this provider''s published API definitions: ovh-v1-supply-mondialRelay-openapi.json, ovh-v1-supply-mondialRelay-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://eu.api.ovh.com/v1
tags:
- name: Supply
paths:
/supply/mondialRelay:
post:
summary: Find the 10 nearest MondialRelay points from address or city
security:
- oAuth2AuthCode: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
description: Address
city:
type: string
description: City
country:
description: ISO country code
$ref: '#/components/schemas/coreTypes.CountryEnum'
zipcode:
type: string
description: Zip Code
required:
- country
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/supply.MondialRelayReturn'
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.post(\"/supply/mondialRelay\",\n\taddress = None, # Address (type: string, nullable)\n\tcity = None, # City (type: string, nullable)\n\tcountry = None, # ISO country code (type: coreTypes.CountryEnum)\n\tzipcode = None, # Zip Code (type: string, nullable)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/supply/mondialRelay\", array(\n\taddress => null, // Address (type: string, nullable)\n\tcity => null, // City (type: string, nullable)\n\tcountry => null, // ISO country code (type: coreTypes.CountryEnum)\n\tzipcode => null, // Zip Code (type: string, nullable)\n));\n\nprint_r($result);\n?>"
x-iam-actions:
- name: account:apiovh:supplyMondialRelay/create
required: true
tags:
- Supply
operationId: postSupplyMondialRelay
x-operation-id-source: derived
servers:
- url: https://eu.api.ovh.com/v1
components:
schemas:
supply.MondialRelayReturn:
type: object
description: Status and Mondial Relay Point Details
properties:
error:
type:
- string
- 'null'
description: Error
result:
allOf:
- $ref: '#/components/schemas/supply.MondialRelayResult'
description: Relay points list and reference address
status:
allOf:
- $ref: '#/components/schemas/supply.Status'
description: Request status
supply.MondialRelayResult:
type: object
description: Status and Mondial Relay Point Details
properties:
referenceAddress:
type: string
description: Reference address for finding RelayPoints
relayPoints:
type: array
description: Array of relay points
items:
$ref: '#/components/schemas/supply.MondialRelay'
supply.Status:
type: string
description: Request status
enum:
- error
- ok
- pending
supply.MondialRelayClosingPeriod:
type: object
description: Closing period for mondial relay point
properties:
end:
type: string
description: Ending of closing period
format: date-time
start:
type: string
description: Beginning of closing period
format: date-time
supply.MondialRelay:
type: object
description: Mondial Relay Point Details
properties:
address:
type: string
description: Relay point address
city:
type: string
description: City
closing:
type:
- array
- 'null'
description: Relay point closing dates
items:
$ref: '#/components/schemas/supply.MondialRelayClosingPeriod'
country:
allOf:
- $ref: '#/components/schemas/coreTypes.CountryEnum'
description: Relay country
distance:
type:
- number
- 'null'
description: Distance between address and relay point
id:
type: string
description: Mondial Relay point ID
lat:
type: number
description: Relay point latitude
lng:
type: number
description: Relay point longitude
mapUrl:
type:
- string
- 'null'
description: URL of short map
name:
type: string
description: Relay point name
opening:
allOf:
- $ref: '#/components/schemas/supply.MondialRelayOpening'
description: Relay point opening hours
pictureUrl:
type:
- string
- 'null'
description: Relay point picture\s URL
zipcode:
type: string
description: Zipcode
supply.MondialRelayDayPeriod:
type: object
description: Opening range for mondial relay point
properties:
end:
type: string
description: Ending time (00:00 format)
start:
type: string
description: Starting time (00:00 format)
supply.MondialRelayOpening:
type: object
description: Day with schedule for mondial relay point opening
properties:
friday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
monday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
saturday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
sunday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
thursday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
tuesday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
wednesday:
type:
- array
- 'null'
description: Opening range
items:
$ref: '#/components/schemas/supply.MondialRelayDayPeriod'
coreTypes.CountryEnum:
type: string
description: ISO country codes
enum:
- ac
- ad
- ae
- af
- ag
- ai
- al
- am
- an
- ao
- aq
- ar
- as
- at
- au
- aw
- ax
- az
- ba
- bb
- bd
- be
- bf
- bg
- bh
- bi
- bj
- bl
- bm
- bn
- bo
- bq
- br
- bs
- bt
- bv
- bw
- by
- bz
- ca
- cc
- cd
- cf
- cg
- ch
- ci
- ck
- cl
- cm
- cn
- co
- cr
- cs
- cu
- cv
- cw
- cx
- cy
- cz
- de
- dj
- dk
- dm
- do
- dz
- ec
- ee
- eg
- eh
- er
- es
- et
- fc
- fd
- fi
- fj
- fk
- fm
- fo
- fr
- fx
- ga
- gb
- gd
- ge
- gf
- gg
- gh
- gi
- gl
- gm
- gn
- gp
- gq
- gr
- gs
- gt
- gu
- gw
- gy
- hk
- hm
- hn
- hr
- ht
- hu
- id
- ie
- il
- im
- in
- io
- iq
- ir
- is
- it
- je
- jm
- jo
- jp
- ke
- kg
- kh
- ki
- km
- kn
- kp
- kr
- kw
- ky
- kz
- la
- lb
- lc
- li
- lk
- lr
- ls
- lt
- lu
- lv
- ly
- ma
- mc
- md
- me
- mf
- mg
- mh
- mk
- ml
- mm
- mn
- mo
- mp
- mq
- mr
- ms
- mt
- mu
- mv
- mw
- mx
- my
- mz
- na
- nc
- ne
- nf
- ng
- ni
- nl
- 'no'
- np
- nr
- nu
- nz
- om
- pa
- pe
- pf
- pg
- ph
- pk
- pl
- pm
- pn
- pr
- ps
- pt
- pw
- py
- qa
- qc
- re
- ro
- rs
- ru
- rw
- sa
- sb
- sc
- sd
- se
- sg
- sh
- si
- sj
- sk
- sl
- sm
- sn
- so
- sr
- ss
- st
- sv
- sx
- sy
- sz
- tc
- td
- tf
- tg
- th
- tj
- tk
- tl
- tm
- tn
- to
- tp
- tr
- tt
- tv
- tw
- tz
- ua
- ug
- uk
- um
- us
- uy
- uz
- va
- vc
- ve
- vg
- vi
- vn
- vu
- we
- wf
- ws
- ye
- yt
- yu
- za
- zm
- zw
securitySchemes:
oAuth2AuthCode:
type: oauth2
description: Oauth2
x-client-id: 1bb9c7df371741c0
x-client-secret: a5b4de870aca620d10fbf63cd18d205b
flows:
authorizationCode:
authorizationUrl: https://auth.eu.ovhcloud.com/oauth2/authorize
tokenUrl: https://auth.eu.ovhcloud.com/oauth2/token
scopes:
account/all: Manage your account
all: Manage your whole account and all your services
services/all: Manage your services lifecycle and billing
x-refined-from:
- ovh-v1-supply-mondialRelay-openapi.json
- ovh-v1-supply-mondialRelay-openapi.yml