Skip to main content

Get weights of endpoints

GEThttps://deep-index.moralis.io/api/v2/info/endpointWeights

Get the cost and rate limit for each API endpoint.

Responses
API KEY
import Moralis  from 'moralis';

try {
await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});

const response = await Moralis.EvmApi.utils.endpointWeights();

console.log(response?.result);
} catch (e) {
console.error(e);
}

Response Example
Empty