FLOOKUP API DOCUMENTATION

Introduction to the Flookup API

Integrate Flookup seamlessly into your data workflows, whether for internal data cleaning or powering public-facing applications. Built on Firebase Cloud Functions, the Flookup API offers reliable public access with built-in rate limiting. It is designed to work effortlessly with spreadsheets, web applications, and automation platforms, enabling you to extend its capabilities across a wide range of use cases.


How to Make API Requests

You can test the Flookup API directly from your terminal using cURL. Below is an example of how to call the /fuzzyLookup endpoint with a JSON payload:

curl -X POST https://fuzzylookup-fsf2wq72pq-uc.a.run.app \
  -H "Content-Type: application/json" \
  -d '{
    "lookup_value": [["apple"]],
    "table_array": [["apple","fruit"],["banana","fruit"]],
    "lookup_col": 1,
    "index_num": 2
  }'

Or in Google Apps Script:

let response = UrlFetchApp.fetch("https://fuzzylookup-fsf2wq72pq-uc.a.run.app", {
  method: "POST",
  contentType: "application/json",
  payload: JSON.stringify({
    lookup_value: [["apple"]],
    table_array: [["apple","fruit"], ["banana","fruit"]],
    lookup_col: 1,
    index_num: 2
  })
});

Flookup API Endpoints

Fuzzy Lookup

POST https://fuzzylookup-fsf2wq72pq-uc.a.run.app
{
  "profileId": "USER-12345",
  "lookup_value": [["search term"]],
  "table_array": [["row1col1", "row1col2"], ["row2col1", "row2col2"]],
  "lookup_col": 1,
  "index_num": 2,
  "threshold": 0.8
}

Parameters Explained

Response

{
  "result": [["matched value", score], ...]
}

Errors

{
  "error": "!ERROR: ..."
}

Fuzzy Similarity

POST https://fuzzysimilarity-fsf2wq72pq-uc.a.run.app
{
  "profileId": "USER-12345",
  "left_string": "string1",
  "right_string": "string2"
}

Parameters Explained

Response

{
  "result": 0.92
}

Errors

{
  "error": "!ERROR: ..."
}

Unique List

POST https://uniquelist-fsf2wq72pq-uc.a.run.app
{
  "profileId": "USER-12345",
  "col_array": [["value1"], ["value2"], ...],
  "index_num": 1,
  "threshold": 0.8,
  "operation": "by_percentage"
}

Parameters Explained

Response

{
  "result": [["unique1"], ["unique2"], ...]
}

Errors

{
  "error": "!ERROR: ..."
}

Flookup API Pricing Plans

How to Upgrade:

  1. Click the relevant link above to activate a plan of your choice.
  2. Choose any payment method and fill in the details as prompted.
  3. Open the confirmation email after payment and copy your "Activation License".
  4. Your "Activation License" acts as your profileId for API calls.

Notes on API Usage:


Flookup API Privacy Statement

We greatly value your privacy. Personal details are collected solely to manage your subscription and are never shared with anyone. Data processed by the API is securely transmitted from you to our servers for processing and back again. It is never seen by us or any third party. You retain full rights over your data and can request deletion at any time. For concerns, please contact us.


Explore More