API

Infrastructure

Interface that lets programs call a service.

An API describes how software can talk to a service. It defines endpoints, request formats, and responses. In web3, nodes expose JSON RPC so apps can read state and send transactions. Good APIs have clear docs, stable behavior, and fair limits so developers can build with confidence.

Frequently asked questions

  • What makes a good API?
    Clear docs, stable endpoints, helpful errors, and fair rate limits. SDKs and examples speed up integration.
  • What is JSON RPC in Ethereum?
    It is the standard interface that nodes expose. Apps use it to send transactions and read state.
  • How can I avoid breaking changes?
    Pin API versions, read changelogs, and write simple health checks that alert when responses change.