# Smart By Bond Local API support

**URL:** <https://forum.bondhome.io/t/smart-by-bond-local-api-support/566>\
**Category:** BETA\
**Created:** [June 25, 2019, 11:02pm UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566 "2019-06-25T23:02:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alanchow](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/alanchow/32/182_2.png) [@alanchow](https://forum.bondhome.io/u/alanchow)\
**Post date:** [June 25, 2019, 11:02pm UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/1 "2019-06-25T23:02:36Z")

</div>

Will **Smart By Bond** devices support the new local API? If so can someone elaborate how this will work?

---

<div class="post-metadata">

**Author:** ![jacob](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/jacob/32/312_2.png) [@jacob](https://forum.bondhome.io/u/jacob)\
**Post date:** [June 26, 2019, 3:11am UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/2 "2019-06-26T03:11:49Z")

</div>

Yes, Smart By Bond devices expose the same API as Bond Bridges, minus signal-related endpoints and the endpoints under “Bridge” in the docs. The device itself is exposed as `devices/1`.

---

<div class="post-metadata">

**Author:** ![alanchow](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/alanchow/32/182_2.png) [@alanchow](https://forum.bondhome.io/u/alanchow)\
**Post date:** [June 26, 2019, 3:27am UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/3 "2019-06-26T03:27:30Z")

</div>

Thanks Jacob.

Will it still respond to the devices end-point (which i assume will return a single deviceid)

Assuming `/sys/version`, `/v2/token` and `/v2/devices/deviceID/actions` endpoints are all the same

Also is there anything different with the mdns search request? Currently we are querying for `_bond._tcp.local`

Since we don’t have a Smart by Bond device we have to do this integration blind.

---

<div class="post-metadata">

**Author:** ![jacob](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/jacob/32/312_2.png) [@jacob](https://forum.bondhome.io/u/jacob)\
**Post date:** [June 26, 2019, 3:40am UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/4 "2019-06-26T03:40:53Z")

</div>

> Will it still respond to the devices end-point (which i assume will return a single deviceid)

Yes it will, and that’s right, the single ID is always `1`.

> Assuming `/sys/version` , `/v2/token` and `/v2/devices/deviceID/actions` endpoints are all the same

They are. We’re striving to make the API identical to make integrations easy to implement.

> Also is there anything different with the mdns search request? Currently we are querying for `_bond._tcp.local`

Smart by Bond and all Bond Bridges are the same here, as well.

---

<div class="post-metadata">

**Author:** ![alanchow](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/alanchow/32/182_2.png) [@alanchow](https://forum.bondhome.io/u/alanchow)\
**Post date:** [June 26, 2019, 3:54am UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/5 "2019-06-26T03:54:23Z")

</div>

Sorry i meant discovering devices using the `/v2/devices` endpoint (which i assume returns a single device).

---

<div class="post-metadata">

**Author:** ![jacob](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/jacob/32/312_2.png) [@jacob](https://forum.bondhome.io/u/jacob)\
**Post date:** [June 26, 2019, 3:35pm UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/6 "2019-06-26T15:35:09Z")

</div>

Yeah, it responds in the same way, with a hash and a list device ids and their hashes. In this case, it’s a single-element list, and the single device ID is always 1.

---

<div class="post-metadata">

**Author:** ![alanchow](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/alanchow/32/182_2.png) [@alanchow](https://forum.bondhome.io/u/alanchow)\
**Post date:** [June 26, 2019, 9:03pm UTC](https://forum.bondhome.io/t/smart-by-bond-local-api-support/566/7 "2019-06-26T21:03:29Z")

</div>

Thanks for clarifying jacob. Sounds like we don’t need to do anything.

How do we market ‘smart by bond’ to our customers? I’d like to push them to those products but can’t seem to find any information about them anywhere on the internet.
