Riferimento API

Integra l'intelligenza di formulazione di Scentia nelle tue applicazioni.

URL Base https://scientiapp.com/api/v1

Authentication

POST https://scientiapp.com/api/v1/auth/token

Generate an authentication token using your API key. The token expires after 24 hours.

Parametri

Nome Tipo
api_key string

Risposta

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_at": "2026-01-04T12:00:00Z",
    "token_type": "Bearer"
}

Substances

GET https://scientiapp.com/api/v1/substances

Retrieve a paginated list of all pharmaceutical substances in the database. Filter by type or search by name.

Parametri

Nome Tipo
page integer (default: 1)
per_page integer (default: 20, max: 100)
search string (optional)
type string (api|excipient, optional)

Risposta

{
    "data": [
        {
            "id": 1,
            "name": "Ibuprofen",
            "type": "api",
            "cas_number": "15687-27-1",
            "molecular_weight": 206.280000000000001136868377216160297393798828125
        }
    ],
    "meta": {
        "total": 150,
        "per_page": 20,
        "current_page": 1,
        "last_page": 8
    }
}
GET https://scientiapp.com/api/v1/substances/{id}

Get detailed information about a specific substance including physical properties, solubility data, and stability information.

Risposta

{
    "data": {
        "id": 1,
        "name": "Ibuprofen",
        "type": "api",
        "cas_number": "15687-27-1",
        "molecular_weight": 206.280000000000001136868377216160297393798828125,
        "solubility": {
            "water": "poorly soluble",
            "ethanol": "freely soluble"
        },
        "stability": {
            "temperature_sensitive": false,
            "light_sensitive": true
        }
    }
}
POST https://scientiapp.com/api/v1/substances

Create a new substance record in your private database. Requires Professional or Enterprise plan.

Parametri

Nome Tipo
name string (required)
type string (api|excipient, required)
cas_number string (optional)
molecular_weight float (optional)
properties object (optional)

Risposta

{
    "data": {
        "id": 152,
        "name": "Custom API",
        "type": "api",
        "created_at": "2026-01-03T12:00:00Z"
    }
}

Formulations

GET https://scientiapp.com/api/v1/formulations

List all your formulation projects with pagination support.

Parametri

Nome Tipo
page integer (default: 1)
per_page integer (default: 20, max: 100)
status string (draft|active|archived, optional)

Risposta

{
    "data": [
        {
            "id": 1,
            "name": "Ibuprofen Tablet 200mg",
            "type": "tablet",
            "status": "active",
            "created_at": "2026-01-01T10:00:00Z"
        }
    ],
    "meta": {
        "total": 45,
        "per_page": 20,
        "current_page": 1
    }
}
POST https://scientiapp.com/api/v1/formulations

Create a new formulation project with ingredients and processing parameters.

Parametri

Nome Tipo
name string (required)
type string (tablet|capsule|solution, required)
ingredients array (required)
target_dose float (optional)

Risposta

{
    "data": {
        "id": 46,
        "name": "New Formulation",
        "type": "tablet",
        "status": "draft"
    }
}
POST https://scientiapp.com/api/v1/formulations/{id}/optimize

Run AI optimization on a formulation to get ingredient ratio recommendations and stability predictions.

Parametri

Nome Tipo
optimization_type string (stability|dissolution|bioavailability)
constraints object (optional)

Risposta

{
    "score": 8.699999999999999289457264239899814128875732421875,
    "recommendations": {
        "ingredient_adjustments": [],
        "predicted_stability": "24 months",
        "dissolution_profile": "Q80 in 30 min"
    },
    "analysis": {
        "strengths": [
            "Good stability",
            "Fast dissolution"
        ],
        "warnings": [
            "Consider adding antioxidant"
        ]
    }
}

Pkpd

POST https://scientiapp.com/api/v1/pkpd/simulate

Run pharmacokinetic/pharmacodynamic simulation for a given formulation and dosing regimen.

Parametri

Nome Tipo
formulation_id integer (required)
dose float (mg, required)
volume_distribution float (L, required)
clearance float (L/h, required)
dosing_interval integer (hours, optional)
number_of_doses integer (optional)

Risposta

{
    "pk_data": {
        "cmax": 15.199999999999999289457264239899814128875732421875,
        "tmax": 2.5,
        "auc": 120.5,
        "half_life": 4.79999999999999982236431605997495353221893310546875,
        "time_concentration_curve": []
    },
    "pd_data": {
        "efficacy_prediction": "high",
        "safety_margin": 3.20000000000000017763568394002504646778106689453125
    },
    "recommendations": {
        "suggested_dose": 200,
        "suggested_interval": 8
    }
}
BETA

La piattaforma non è ancora acquistabile sul mercato. Per ringraziare chi ci aiuta a migliorarla, offriamo un piano Lifetime a chi ci manda feedback, suggerimenti o segnalazioni!

Scrivici a: hello@tublat.com