# Get bots

### Example

```javascript
client.api.getBots(function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});
```

Try on [JSFiddle](https://jsfiddle.net/xanrbcgz/).

### **Returns**

```javascript
[
  {
    id: 29,
    name: 'Buy Bytes with Visa or Mastercard',
    pairing_code: 'A1i/ij0Na4ibEoSyEnTLBUidixtpCUtXKjgn0lFDRQwK@byteball.org/bb#0000',
    description: 'This bot helps to buy Bytes with Visa or Mastercard. The payments are processed by Indacoin. Part of the fees paid is offset by the reward you receive from the undistributed funds.'
  },
  {
    id: 31,
    name: 'World Community Grid linking bot',
    pairing_code: 'A/JWTKvgJQ/gq9Ra+TCGbvff23zqJ9Ec3Bp0XHxyZOaJ@byteball.org/bb#0000',
    description: 'Donate your device’s spare computing power to help scientists solve the world’s biggest problems in health and sustainability, and earn some Bytes in the meantime. This bot allows you to link your Byteball address and WCG account in order to receive daily rewards for your contribution to WCG computations.\n\nWCG is an IBM sponsored project, more info at https://www.worldcommunitygrid.org'
  },
  ...
]
```

### **Learn more**

* Obyte Wiki: <https://wiki.obyte.org/Chatbot>


---

# 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://obytejs.com/0.1.12/api/get-bots.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.
