Maps through an array to find a certain identifier

This endpoint will require a POST request.

This endpoint is only on the Beta Version of the API and may be unstable.

Please report any & all bugs to the Support Server

Endpoint Headers:

  • apikey - Your Api Auth Key [String] (Required)

Endpoint Body Parameters

  • array - Array to map through [Array] (Required)

  • id - Identifier to retrieve during map [String] (Optional)


Data API version required. Must replace <version> with either release or beta.

Bot Designer for Discord

Example usage of /map endpoint using BDFD

array: [],
id: 'userId'

$httpResult OR $httpResult[details]

Example usage of /map endpoint using Discord.js

const axios = require('axios');
(async () => {
return await axios.post('https://bdfddata.rickyjs.xyz/<version>/map', 
{  array: [],
id: 'userId'
}, { 
headers: {
'apikey': <YOUR-API-KEY>,

Possible Responses (Codes)

Code 200

API succeeded and details were fetched.

 status: 200,
  details: [
  //Array is based off your input and may not be what you're expecting
Code 400

An error occurred that stopped execution.

    status: 400
    error: 'Cannot read ...  (This can vary)'

Last updated