How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Valora hooks API

Divvi Hooks API (positions and shortcuts), served under /hooks-api

Valora hooks API is one of 5 APIs that Valora publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Hooks. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 5 paths, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against 2 base URLs: https://api.mainnet.valora.xyz, https://api.alfajores.valora.xyz.

5 operations 5 paths 7 schemas 4 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.mainnet.valora.xyz
Resource Areas
1

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 4 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

hooks 5

Divvi Hooks API (positions and shortcuts), served under /hooks-api

GET
/hooks-api/getPositions
Get DeFi positions
getPositions 3 params → 200400
GET
/hooks-api/getEarnPositions
Get positions for the Earn feature
getEarnPositions 3 params → 200400
GET
/hooks-api/getShortcutsdeprecated
List shortcuts (deprecated)
getShortcuts → 200
GET
/hooks-api/v2/getShortcuts
List shortcuts
getShortcutsV2 3 params → 200400
POST
/hooks-api/triggerShortcut
Trigger a shortcut
triggerShortcut body → 200400

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are Position (15 properties), PositionToken (9 properties), Transaction (7 properties), Shortcut (5 properties). Each schema is shown below with its type and property counts.

PositionToken
object
Token held by a position (base token or nested app token).
9 properties
NetworkId
string
ShortcutsResponse
object
2 properties
Position
object
DeFi position (app-token or contract-position) priced by a hook.
15 properties 5 required
DisplayProps
object
4 properties
Transaction
object
7 properties 4 required
Shortcut
object
Shortcut definition (onTrigger and triggerInputShape are excluded from serialization).
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

valora-hooks-api-openapi.yml Raw ↑

Other APIs Valora publishes across the network.

Valora nfts API
Valora swaps API
Valora tokens API
Valora transactions API
Where this information came from

This is an independent, third-party profile of Valora hooks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.