Skip to main content

API Reference

MEV-Boost implements the Ethereum Builder API Specification. This page provides an overview of the API endpoints and their roles in the block proposal flow.

Builder API (Consensus Client to MEV-Boost)​

These endpoints are called by the consensus client and handled by MEV-Boost before the Gloas fork. From Gloas, the consensus client calls the Gloas builder API instead. MEV-Boost serves both.

POST /eth/v1/builder/validators​

Register validators with relays via MEV-Boost.

The consensus client sends a list of validator registrations. MEV-Boost forwards these to all configured relays so they know which validators are using the builder network.

Request body: Array of signed validator registrations, each containing:

  • fee_recipient — Address to receive MEV rewards
  • gas_limit — Preferred gas limit
  • timestamp — Registration timestamp
  • pubkey — Validator public key
[
{
"message": {
"fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"gas_limit": "30000000",
"timestamp": "1234567890",
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc..."
},
"signature": "0x1b66ac1fb663c9bc..."
}
]

Response: 200 OK on success.

GET /eth/v1/builder/header/{slot}/{parent_hash}/{pubkey}​

Get the best execution payload header (bid) for a given slot.

MEV-Boost queries all configured relays (or mux group relays, if applicable) and returns the highest-value valid bid.

Path parameters:

  • slot — The slot number for which to get a header
  • parent_hash — The parent block hash
  • pubkey — The proposer's public key

Response: The best bid, containing the execution payload header and bid value.

{
"version": "deneb",
"data": {
"message": {
"header": {
"parent_hash": "0xcf8e0d4e9587...",
"fee_recipient": "0xabcf8e0d4e...",
"block_hash": "0x1234567890ab...",
"gas_limit": "30000000",
"gas_used": "15000000",
"base_fee_per_gas": "1000000000"
},
"value": "50956939974241468",
"pubkey": "0x93247f2209abcacf..."
},
"signature": "0x1b66ac1fb663c9bc..."
}
}

POST /eth/v1/builder/blinded_blocks​

Submit a signed blinded block to retrieve the full execution payload.

After the consensus client signs the winning bid's header, it submits the signed blinded block. MEV-Boost forwards this to the relay that provided the winning bid, which returns the full execution payload.

Request body: A signed blinded beacon block containing the execution payload header.

Response: The full execution payload, which the consensus client broadcasts to the network.

GET /eth/v1/builder/status​

Check MEV-Boost status. Returns 200 OK if the service is running. If -relay-check is enabled, it also verifies relay connectivity.

curl http://localhost:18550/eth/v1/builder/status

Gloas Builder API (ePBS)​

From the Gloas fork, the consensus client calls these endpoints instead of registerValidator, getHeader and submitBlindedBlock. All three require the Eth-Consensus-Version: gloas header and accept JSON (application/json) or SSZ (application/octet-stream) bodies up to 10 MiB. See Gloas (ePBS) for setup, auth_data and deadlines.

POST /eth/v1/builder/execution_payload_bid/{slot}/{parent_hash}/{parent_root}/{proposer_pubkey}​

Get one relay's execution payload bid.

The consensus client sends one request per builder entry. The body is a SignedBuilderRequestAuth, signed by the proposer, whose data is the auth_data of the relay the request is for. MEV-Boost verifies the signature, matches auth_data to one relay in the proposer's relay set, and forwards the request unchanged.

Required headers: Date-Milliseconds and X-Timeout-Ms, the consensus client's deadline.

{
"message": {
"data": "0x626f6f73742d72656c61792e666c617368626f74732e6e6574",
"slot": "1234567"
},
"signature": "0x1b66ac1fb663c9bc..."
}

Response: 200 with the relay's signed execution payload bid, or 204 when there is no bid (the relay returned none, failed, or the deadline passed). Invalid requests and an auth_data that matches no relay return 400, and an invalid signature returns 401.

POST /eth/v1/builder/builder_preferences/{proposer_pubkey}​

Submit proposer preferences to one relay.

The body holds preferences (max_execution_payment) and a signed auth, routed by auth_data like a bid request. Preferences for a slot that has already passed are rejected with 400.

Response: The relay's response, or 500 if the relay fails or doesn't answer.

POST /eth/v1/builder/beacon_blocks​

Submit the signed beacon block that commits to the winning bid.

MEV-Boost forwards the block to every configured relay, including all mux groups. Only the relay whose bid won accepts it, and its builder then reveals the payload.

Response: 202 when one relay accepts the block, 500 if none does. The consensus client gossips the block itself either way.

Gloas Request Flow​

Relay Data API​

Relays expose a data API for querying delivered payloads, validator registrations, and builder submissions. This is useful for verifying your setup and monitoring relay activity.

Validator Registration Check​

Verify that your validator is registered with a relay:

GET /relay/v1/data/validator_registration?pubkey={validator_pubkey}

Example:

curl "https://boost-relay.flashbots.net/relay/v1/data/validator_registration?pubkey=0xYOUR_VALIDATOR_PUBKEY"

Response:

{
"message": {
"fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"gas_limit": "30000000",
"timestamp": "1234567890",
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc..."
},
"signature": "0x1b66ac1fb663c9bc..."
}

Delivered Payloads​

Query recently delivered payloads:

GET /relay/v1/data/bidtraces/proposer_payload_delivered

Optional query parameters: slot, block_hash, block_number, proposer_pubkey, builder_pubkey, limit, cursor.

Builder Blocks Received​

Query blocks submitted by builders:

GET /relay/v1/data/bidtraces/builder_blocks_received

Optional query parameters: slot, block_hash, block_number, builder_pubkey, limit.

Builder API (Builder to Relay)​

These endpoints are used by block builders to submit blocks to relays.

POST /relay/v1/builder/blocks​

Submit a new block to the relay. The relay validates the block and makes it available for proposers.

GET /relay/v1/builder/validators​

Get the list of validators registered with the relay for the current and next epoch. Builders use this to know which slots they can build for.

Request Flow​

Specifications​