Quotes

A quote is the fee for a guarantee on one tenancy.

POST   /quotes
GET    /quotes/{quote_id}

The quote object

FieldTypeDescription
idstring
objectstringAlways quote.
livemodebooleanfalse in the sandbox.
feeobjectThe fee for the tenancy.
fee.amountintegerThe amount in the currency's smallest unit. 50000 is £500.00.
fee.currencystringISO 4217 code. Fees are always GBP.
monthly_rent_shareobjectThe tenant's rent for one calendar month, rounded to the nearest pound (50p rounds up). The fee is calculated on this figure.
monthly_rent_share.amountintegerThe amount in the currency's smallest unit. 50000 is £500.00.
monthly_rent_share.currencystringISO 4217 code. Fees are always GBP.
eligibilityobject
eligibility.statusenumeligible: an application can be created. review: an application can be created and will be reviewed manually. ineligible: an application with these details will be rejected with 422.
eligibility.reasonsarray of stringMachine-readable reasons when status is not eligible, for example property_country_unsupported.
expires_atdate-time
created_atdate-time

Create a quote

POST/quotes

Creates a quote. To apply the quoted fee to an application, pass the quote's id as quote_id before expires_at. If the fee for the same details has changed since the quote was created, the application is rejected with 409 fee_changed. Create a new quote.

Request body

FieldTypeDescription
applicant_typeenumType of applicant. One of student, graduate. Default student.
tenantrequiredobject
tenant.nationalityrequiredstringISO 3166-1 alpha-2 code.
tenant.country_of_residencestringISO 3166-1 alpha-2 code. Defaults to the nationality.
studyobjectRequired when applicant_type is student.
study.university_idstringFrom the universities list. Send either this or university_name.
study.university_namestringFor an institution not in the universities list.
study.coursestring
study.levelrequiredenumOne of foundation, undergraduate, postgraduate, other.
study.first_yearbooleanWhether this tenancy covers the tenant's first year at the university.
propertyrequiredobject
property.countryrequiredstringISO 3166-1 alpha-2 code of the property. Currently GB.
property.postcodestringUK postcode.
tenancyrequiredobject
tenancy.rentrequiredobject
tenancy.rent.amountrequiredintegerThe tenant's own share of the rent for one period, in pence.
tenancy.rent.currencyrequiredstringAlways GBP.
tenancy.rent.periodrequiredenumWhat amount covers. total is the whole rent for the tenancy from start date to end date. One of week, month, total.
tenancy.start_daterequireddate
tenancy.end_datedateRequired unless the tenancy is periodic with no fixed end.
tenancy.tenant_countintegerHow many tenants are named on the tenancy. Default 1.
cosigner_relationshipenumThe cosigner's relationship to the tenant, if known. One of parent, guardian, relative, spouse, friend, other.

Example request

curl https://api.thestudentguarantor.com/v1/quotes \
  -X POST \
  -H "Authorization: Bearer $TSG_SECRET_KEY" \
  -H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
  -H "Content-Type: application/json" \
  -d '{
  "tenant": {
    "nationality": "CN",
    "country_of_residence": "CN"
  },
  "study": {
    "university_id": "uni_ucl",
    "level": "postgraduate",
    "first_year": true
  },
  "property": {
    "country": "GB",
    "postcode": "E1 6LT"
  },
  "tenancy": {
    "rent": {
      "amount": 32500,
      "currency": "GBP",
      "period": "week"
    },
    "start_date": "2026-10-24",
    "end_date": "2027-07-10",
    "tenant_count": 1
  }
}'

Returns

Returns the quote object.

Example response

{
  "id": "quo_8Kc2VnQ4hT7xWm3B",
  "object": "quote",
  "livemode": false,
  "fee": {
    "amount": 50000,
    "currency": "GBP"
  },
  "monthly_rent_share": {
    "amount": 140800,
    "currency": "GBP"
  },
  "eligibility": {
    "status": "eligible",
    "reasons": []
  },
  "expires_at": "2026-11-26T09:14:02Z",
  "created_at": "2026-11-19T09:14:02Z"
}

Retrieve a quote

GET/quotes/{quote_id}

Retrieves a quote.

Returns

Returns the quote object.