// industry · Dating apps
Compatibility API for dating apps
Synastry, Composite, Davison — build compatibility features that don't rely on Sun signs. Real astronomy, not marketing stereotypes.
⏱
<200ms p99
🎯
sub-arcsecond
💰
50 credits/synastry
🔌
4 endpoints
// 01 / problem
The problem
Most dating apps show compatibility by Sun sign — and grown-up users see through that fast. You need a deeper model: a composite chart of two people, synastric aspects, midpoints.
// 02 / solution
How AstroWay solves it
AstroWay computes full synastry (Sun-Moon, Venus-Mars, Saturn aspects) + composite chart + Davison time-midpoint chart. One HTTP request — full compatibility analysis with a 0..100 weighted score.
// 03 / endpoints
Endpoints used
- POST /v1/synastry — mutual aspects of 2 charts
- POST /v1/synastry/attraction-score — score 0..100
- POST /v1/composite — combined midpoint chart
- POST /v1/davison — Davison time-midpoint chart
// 04 / code sample
TypeScript starter
// TS SDK in roadmap — native fetch today
const r = await fetch('https://api.astroway.info/v1/synastry/attraction-score', {
method: 'POST',
headers: { 'X-Api-Key': process.env.AW_KEY!, 'Content-Type': 'application/json' },
body: JSON.stringify({
partnerA: { date: '1991-08-24T16:30:00+03:00', latitude: 50.45, longitude: 30.52 },
partnerB: { date: '1992-07-20T09:00:00+03:00', latitude: 49.84, longitude: 24.03 },
}),
});
const { data: score } = await r.json();
console.log(score.compatibilityIndex); // 0..100 Build a dating apps feature
Generate an API key, hit any of the listed endpoints in 5 minutes. 10,000 credits free.