Work in progress
This documentation page is currently work in progress.
Not all existing DecAPI endpoints are documented here yet. For the currently active documentation, please visit docs.decapi.me.
DayZ map search via iZurvive
This endpoint has not been updated in quite some time.
While most existing locations in the API should still work fine, any new locations added to the map in later times may not be available in the search results.
It also currently only supports Chernarus+ (the original map), even if iZurvive supports multiple.
Searches for locations based on the search query string, and returns a location name together with a URL to the location on iZurvive.
You can also visit the URL https://decapi.me/dayz/izurvive?list to get a list of all locations available in this API endpoint.
Endpoint URL
https://decapi.me/dayz/izurvive?search=Zeleno
Query parameters
search
- Required - The search query string to search for. This parameter is case-insensitive.
Example
- Find the first location that matches the search text
Zeleno
: https://decapi.me/dayz/izurvive?search=Zeleno
Examples for bots
Nightbot
Note: Nightbot will automatically convert variables, such as$(channel)
or $(touser)
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
$(urlfetch https://decapi.me/dayz/izurvive?search=$(querystring))
Fossabot
Note: Fossabot will automatically convert variables, such as$(channel)
or $(user.login)
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
$(customapi https://decapi.me/dayz/izurvive?search=$(querystring))
StreamElements
Note: StreamElements will automatically convert variables, such as${channel}
or ${touser}
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
${customapi.https://decapi.me/dayz/izurvive?search=${queryescape ${1:}}}
Streamlabs Chat Bot
Note: Streamlabs Chat Bot will automatically convert variables, such as$mychannel
or $touserid
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
$readapi(https://decapi.me/dayz/izurvive?search=$msg)
Streamlabs Cloudbot
Note: Streamlabs Cloudbot will automatically convert variables, such as{channel.name}
or {touser.name}
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
{readapi.https://decapi.me/dayz/izurvive?search={1:100}}
Deepbot
Note: Deepbot will automatically convert variables, such as@stream@
or @user@
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
@customapi@[https://decapi.me/dayz/izurvive?search=@target@]
PhantomBot
Note: PhantomBot will automatically convert variables, such as(channelname)
or (touser)
to the correct channel name / username, when the command is used.
You do not have to change those variables.
-
Allow users to search for a Chernarus map location
(customapi https://decapi.me/dayz/izurvive?search=(echo))