Skip to main content
GET
/
v1
/
waterfalls
/
{waterfall_identifier}
Get a specific waterfall
curl --request GET \
  --url https://api.databar.ai/v1/waterfalls/{waterfall_identifier} \
  --header 'x-apikey: <x-apikey>'
import requests

url = "https://api.databar.ai/v1/waterfalls/{waterfall_identifier}"

headers = {"x-apikey": "<x-apikey>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-apikey': '<x-apikey>'}};

fetch('https://api.databar.ai/v1/waterfalls/{waterfall_identifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.databar.ai/v1/waterfalls/{waterfall_identifier}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-apikey: <x-apikey>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.databar.ai/v1/waterfalls/{waterfall_identifier}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-apikey", "<x-apikey>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.databar.ai/v1/waterfalls/{waterfall_identifier}")
.header("x-apikey", "<x-apikey>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.databar.ai/v1/waterfalls/{waterfall_identifier}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-apikey"] = '<x-apikey>'

response = http.request(request)
puts response.read_body
{
  "identifier": "email_getter",
  "name": "Email finder waterfall",
  "description": "Get email from first name, last name and company",
  "input_params": [
    {
      "name": "first_name",
      "type": "text",
      "required": true
    },
    {
      "name": "last_name",
      "type": "text",
      "required": true
    },
    {
      "name": "company",
      "type": "text",
      "required": true
    }
  ],
  "output_fields": [
    {
      "name": "email",
      "label": "Email",
      "type": "text"
    }
  ],
  "available_enrichments": [
    {
      "id": 833,
      "name": "General Enrichment",
      "description": "General data enrichment service",
      "price": "0.01",
      "params": [
        "first_name",
        "last_name",
        "company"
      ]
    }
  ],
  "is_email_verifying": true,
  "email_verifiers": [
    {
      "id": 10,
      "name": "Verify emails (Emailable)",
      "description": "Verify if emails are valid.",
      "price": "0.01"
    }
  ]
}
{
"detail": "Check the number of remaining credits or the tariff plan."
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Headers

x-apikey
any
required

API Key for authentication

Path Parameters

waterfall_identifier
string
required

The identifier of the waterfall to retrieve

Response

Successful Response

identifier
string
required
name
string
required
description
string
required
input_params
Input Params · object[]
required
output_fields
Output Fields · object[]
required
available_enrichments
Available Enrichments · object[]
required
is_email_verifying
boolean
required
email_verifiers
Email Verifiers · object[]
required