Links
Comment on page

/v1/spec

Show OpenAPI explorer
Provides a UI that you can use to explore the API. You can also retrieve the API directly at /spec.yaml and /spec.json.
​
Example
curl --request GET \
--url https://aptos-mainnet.public.blastapi.io/v1/spec \
--header 'Content-Type: application/json'
Response
<!doctype html>
<html lang="en">
​
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="cache-control" content="no-cache">
<title>Aptos REST API</title>
<!-- Embed elements Elements via Web Component -->
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css">
</head>
​
<body>
<elements-api apiDescriptionUrl="spec.yaml" router="hash" layout="sidebar" hideInternal="true" />
</body>
​
</html>