Registration API
What is an API?
An Application Programming Interface (API) is a set of commands, features, and protocols used to integrate different systems without the need to know how they are implemented.
APIs provide flexibility, simplify application design, management, and utilization, and create opportunities for new products and innovation.
As APIs have become increasingly popular, specifications have been developed to standardize information exchanges. One such specification is Representational State Transfer (REST).
Web APIs that conform to the constraints of REST architectural style are known as RESTful APIs. Simply put, they are the APIs that use HTTP methods to obtain data or perform operations on these data in various formats (for example, XML and JSON).
FAQ
The LACNIC Registration API is a REST-based API that uses Oauth authentication. It is designed mainly to manage the resources available through the MiLACNIC platform in bulk.
Two versions of this API are currently available. Version 2.0 uses the OpenAPI specification, with a user interface (Swagger-ui) that interactively displays the API's documentation, allowing users and developers to test their services.
The documentation of the most recent version (version 3) is available in Postman, an app that allows testing APIs and helps optimize test execution times.
The LACNIC Registration API is available to all LACNIC members who request their access credentials.
What services does the LACNIC Registration API include?
Resources |
Services |
Endpoints |
API Version |
Organizations |
Registration |
/entity/organizations |
v2, v3 |
Modification, retrieving information |
/entity/organizations/{orgid} |
||
Listing an organization’s resources |
/entity/resources/{orgid} |
v3 |
|
Contacts |
Retrieving information |
/entity/users/{id} |
v2, v3 |
IP address blocks |
Registration (sub-assignment) |
/ips |
v2, v3 |
Removal, modification (contacts and others), retrieving information |
/ips/{prefix}/{prefixLength} |
||
Reverse DNS |
Registration |
/domains |
v2, v3 |
Removal, modification |
/domains/{prefix}/{prefixLength} |
||
ASNs |
Retrieving information, modification (contacts) |
/asns/{id} |
v2, v3 |
Certificates |
Retrieving information, registration, modification, removal |
rpki/certs |
v2, v3 |
ROAs |
Retrieving information, registration |
/rpki/roas |
v2, v3 |
Modification, removal |
/rpki/roas/{serialNumber} |
||
IRR |
Registration, removal |
/irr |
v2, v3 |
AS-SETs |
Retrieving information, registration |
/irr/assets |
v2, v3 |
Removal |
/irr/assets/{nameAsSet} |
||
RateLimit |
Retrieving information |
/ratelimits |
v2, v3 |
Geofeeds |
Registration |
/geofeeds |
v3 |
Retrieving information |
/geofeeds/{orgid} |
||
Modification, removal |
/geofeeds/{prefix}/{prefixLength} |
Requesting access to the LACNIC Registration API
To request access to the LACNIC Registration API, contact hostmaster [at] lacnic [.] net and include the following data:
- OrgID
You will be able to access the credentials through the MiLACNIC platform, in the Tools/Beta section of the menu.
How to access the LACNIC Registration API testing environment
Testing environment
Once your access request is approved, you will be able to access our testing platform at the following address:
Version 2.0:
https://registro-demo.api.lacnic.net/lacnic/2.0/swagger-ui/index.html
Version 3:
https://registro-demo.api.lacnic.net/lacnic/v3/info
Production environment
Version 2.0:
https://registro.api.lacnic.net/lacnic/2.0/swagger-ui/index.html
Version 3:
https://registro.api.lacnic.net/lacnic/v3/info
If you would like to try the LACNIC Registration API but are not a LACNIC member, you may use our testing environment. To request access to our testing environment, contact hostmaster [at] lacnic [.] net