# get\_blobs\_by\_payer

## Retrieves a list of data blobs associated with a specific payer—given their public key, a network name, and a time range.

> \- The time range’s \`start\` and \`end\` fields are optional to allow for open-ended queries.\
> \- Returns an empty list if no blobs were found.\
> \- Returns and an error if there was a database or RPC failure.\
> \
> It’s possible for the same payer to fund multiple \*blober\* accounts, so this endpoint fetches data \*blobs\* for all accounts linked to the given payer. For example, in a dePIN network like “Cloud Network,” a user Alice may operate two nodes, each with its own \*blober\* account—\[\`home.alice.cloud\`]\(<http://home.alice.cloud>) and \`office.alice.cloud\`. This endpoint would return all all data \*blobs\* that’ve been sent to both of those \*blobers\*.<br>

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"tags":[{"name":"Blobs","description":"Methods for retrieving raw blob data"}],"servers":[{"url":"https://devnet.data-anchor.termina.technology","description":"Devnet endpoint"},{"url":"https://mainnet.data-anchor.termina.technology","description":"Mainnet endpoint"}],"paths":{"/":{"post":{"tags":["Blobs"],"operationId":"getBlobsByPayer","summary":"Retrieves a list of data blobs associated with a specific payer—given their public key, a network name, and a time range.","description":"- The time range’s `start` and `end` fields are optional to allow for open-ended queries.\n- Returns an empty list if no blobs were found.\n- Returns and an error if there was a database or RPC failure.\n\nIt’s possible for the same payer to fund multiple *blober* accounts, so this endpoint fetches data *blobs* for all accounts linked to the given payer. For example, in a dePIN network like “Cloud Network,” a user Alice may operate two nodes, each with its own *blober* account—[`home.alice.cloud`](http://home.alice.cloud) and `office.alice.cloud`. This endpoint would return all all data *blobs* that’ve been sent to both of those *blobers*.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBlobsByPayerRequest"}}}},"responses":{"200":{"description":"RPC success with blob data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcResponse_GetBlobsByPayer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"schemas":{"GetBlobsByPayerRequest":{"allOf":[{"$ref":"#/components/schemas/RpcRequestBase"},{"type":"object","properties":{"params":{"$ref":"#/components/schemas/GetBlobsByPayerParams"}}}]},"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Unique request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}},"GetBlobsByPayerParams":{"type":"object","required":["payer","start","end"],"properties":{"payer":{"type":"string","description":"Pubkey of the payer account"},"start":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"},"end":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"}}},"RpcResponse_GetBlobsByPayer":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":"string"},"result":{"$ref":"#/components/schemas/GetBlobsByPayerResult"},"error":{"$ref":"#/components/schemas/RpcError"}}},"GetBlobsByPayerResult":{"type":"array","description":"Nested blob data (`Vec<Vec<u8>>`); empty array if none","items":{"type":"array","items":{"type":"integer","format":"int32"}}},"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}},"responses":{"BadRequest":{"description":"Invalid request payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcError"}}}},"ServerError":{"description":"Internal indexer error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcError"}}}}}}}
```

## The RpcRequestBase object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Unique request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}}}}}
```

## The GetBlobsByPayerParams object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"GetBlobsByPayerParams":{"type":"object","required":["payer","start","end"],"properties":{"payer":{"type":"string","description":"Pubkey of the payer account"},"start":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"},"end":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"}}}}}}
```

## The GetBlobsByPayerRequest object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"GetBlobsByPayerRequest":{"allOf":[{"$ref":"#/components/schemas/RpcRequestBase"},{"type":"object","properties":{"params":{"$ref":"#/components/schemas/GetBlobsByPayerParams"}}}]},"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Unique request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}},"GetBlobsByPayerParams":{"type":"object","required":["payer","start","end"],"properties":{"payer":{"type":"string","description":"Pubkey of the payer account"},"start":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"},"end":{"type":"string","format":"date-time","description":"ISO timestamp (inclusive)"}}}}}}
```

## The GetBlobsByPayerResult object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"GetBlobsByPayerResult":{"type":"array","description":"Nested blob data (`Vec<Vec<u8>>`); empty array if none","items":{"type":"array","items":{"type":"integer","format":"int32"}}}}}}
```

## The RpcError object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}}}}
```

## The RpcResponse\_GetBlobsByPayer object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_blobs_by_payer","version":"0.1.0"},"components":{"schemas":{"RpcResponse_GetBlobsByPayer":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":"string"},"result":{"$ref":"#/components/schemas/GetBlobsByPayerResult"},"error":{"$ref":"#/components/schemas/RpcError"}}},"GetBlobsByPayerResult":{"type":"array","description":"Nested blob data (`Vec<Vec<u8>>`); empty array if none","items":{"type":"array","items":{"type":"integer","format":"int32"}}},"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.termina.technology/documentation/open-source-contributions/modules/data-anchor/indexing-data/getting-blobs/get_blobs_by_payer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
