DSN Research Predictive Intelligence, Delivered.
Product Pricing Docs
Login Sign Up
Hello, User App Account

Not Logged In

You need to log in to access your dashboard and API keys.

Login Now Create Account

Welcome!

Here's your API access information and account details.

🚀 Upgrade Your Plan & Unlock More Power

Get unlimited API calls, AI-powered insights, priority support, and advanced analytics features.

View Plans →

Account Details

Name

Loading...

Email

Loading...

Company

Loading...

Current Plan

Loading...

API Usage

Total API Keys

-

Active Keys

-

🔑 Your API Keys

Manage your API keys for accessing DSN Analytics

⚠️

🎉

API Key Generated Successfully!

Store it securely - it will not be shown again.

Your API Key (copy it now!):

⚠️ Make sure to copy your API key now. You won't be able to see it again!

⚠️

API Key Optional in Browser

Your dashboard access is secured via your login session cookie. API keys are only needed for server-to-server integrations.

If you plan to call the API from a backend service, generate and store an API key:

  • Store the key securely (it is only shown once)
  • Rotate keys periodically for security

📚 Quick Start Guide

API Endpoint: https://api.dsnresearch.com

Example Request:

curl -X GET https://api.dsnresearch.com/api/data/sources \
  -H "X-API-Key: YOUR_API_KEY"

Code Examples

Example 1: List Your Data Sources

curl -X GET \
  https://api.dsnresearch.com/api/data/sources \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example 2: Upload a CSV File

curl -X POST \
  https://api.dsnresearch.com/api/data/upload \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -F "file=@sales_data.csv" \
  -F "source_name=Sales Data Q1"

Supported formats: CSV, Excel (.xlsx, .xls), JSON, Parquet

Example 3: Run Churn Prediction Model

curl -X POST \
  https://api.dsnresearch.com/api/ml/churn-prediction \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "data_id": 1,
    "target_column": "Churn",
    "feature_columns": ["tenure", "MonthlyCharges", "TotalCharges"],
    "test_size": 0.2
  }'

Example 4: Query Your Data

curl -X POST \
  https://api.dsnresearch.com/api/analytics/query \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "data_id": 1,
    "query": "SELECT product, SUM(revenue) as total FROM data GROUP BY product"
  }'

Example 5: Time Series Forecast

curl -X POST \
  https://api.dsnresearch.com/api/ml/forecast \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "data_id": 1,
    "date_column": "date",
    "value_column": "sales",
    "periods": 30
  }'

Example 6: Connect to External Database

curl -X POST \
  https://api.dsnresearch.com/api/data/connections \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production DB",
    "database_type": "postgresql",
    "host": "your-db-host.com",
    "port": 5432,
    "database_name": "mydb",
    "username": "db_user",
    "password": "your_password",
    "ssl_enabled": true
  }'

Supported: PostgreSQL, MySQL, SQL Server. Proxies: Neon, PlanetScale, Supabase

Example 7: List Tables from Connected Database

curl -X GET \
  "https://api.dsnresearch.com/api/data/connections/1/tables" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example 8: Import Table from External Database

curl -X POST \
  https://api.dsnresearch.com/api/data/connections/1/import \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "table_name": "customers",
    "source_name": "Imported Customers"
  }'

DSN Research

Professional Data Science Services

Power Your Data Science Workflow with One Simple API

Services

  • Data Management
  • Data Analysis
  • BI
  • ML & AI

Resources

  • API Documentation
  • Pricing
  • Account

Contact

📧 info@dsnresearch.com

For technical support and API questions

© 2025 DSN Research. All rights reserved.