Algolia

호스팅 검색 API. Free는 월 검색 요청 10,000건과 레코드 50,000개를 포함합니다.

···
html
<div class="usage" data-motif="search"><div class="head"><b>ALGOLIA · SEARCH</b><span id="amount">0</span></div><div class="art"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></div><div class="rail"><span id="fill"></span></div><div class="readout"><span id="volume">0</span><strong id="cost">$0</strong></div><input id="usage-slider" type="range" min="0" max="100000" step="1" value="0" aria-label="Monthly usage"><small>Grow · 10k searches included; records ≤50k</small></div>
css
.usage{width:min(94vw,760px);height:min(88vh,325px);padding:clamp(8px,2.2vmin,17px);border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:clamp(4px,1.4vmin,9px);font:600 clamp(12px,2.5vmin,17px)/1.2 var(--font-sans,system-ui);overflow:hidden}.head,.readout{display:flex;align-items:center;justify-content:space-between;gap:8px}.head b{font-size:1.1em;color:var(--accent)}.head span{font-family:ui-monospace,monospace;color:var(--muted)}.art{flex:1;min-height:35px;display:flex;align-items:center;justify-content:center;gap:clamp(3px,1.2vmin,10px);padding:3px 7px}.art i{display:block;flex:1;max-width:52px;height:35%;border:2px solid var(--line);background:var(--bg);transition:background .3s,height .3s,transform .3s}.art i.on{background:var(--accent);border-color:var(--accent)}.rail{height:7px;border-radius:7px;background:var(--line);overflow:hidden}.rail span{display:block;height:100%;width:0;background:var(--accent-2);transition:width .35s}.readout strong{font:800 clamp(15px,4.5vmin,27px)/1 ui-monospace,monospace;color:var(--accent-2)}.readout strong.unknown{font-size:clamp(11px,2.6vmin,16px)}.usage input{width:100%;height:18px;accent-color:var(--accent)}.usage small{color:var(--muted);font-size:clamp(10px,2.2vmin,13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-motif=people] .art i{flex:none;width:clamp(15px,5vmin,36px);height:clamp(15px,5vmin,36px);border-radius:50%;box-shadow:0 9px 0 -4px var(--line)}[data-motif=key] .art i{height:55%;border-radius:40% 40% 4px 4px;transform:rotate(-12deg)}[data-motif=mail] .art i{height:48%;border-radius:3px;clip-path:polygon(0 0,100% 0,100% 85%,50% 52%,0 85%)}[data-motif=route] .art i{height:14%;border-radius:20px;transform:translateY(calc((var(--n,0) - 3) * 5px))}[data-motif=route] .art i:nth-child(2n){--n:7}[data-motif=errors] .art i{height:var(--h,45%);border-radius:2px 2px 0 0}[data-motif=errors] .art i:nth-child(3n){--h:85%}[data-motif=events] .art i{height:var(--h,65%);border-radius:30px}[data-motif=events] .art i:nth-child(2n){--h:28%}[data-motif=search] .art{flex-direction:column;align-items:stretch;gap:3px}[data-motif=search] .art i{height:6px;max-width:none;width:var(--w,88%);border:0;border-radius:10px}[data-motif=search] .art i:nth-child(3n){--w:58%}[data-motif=tiles] .art{display:grid;grid-template-columns:repeat(4,min(9vw,42px));grid-template-rows:repeat(2,1fr);justify-content:center}[data-motif=tiles] .art i{width:100%;height:100%;border-radius:4px}
js
const slider=document.getElementById('usage-slider'),amount=document.getElementById('amount'),volume=document.getElementById('volume'),costEl=document.getElementById('cost'),fill=document.getElementById('fill'),shapes=[...document.querySelectorAll('.art i')];const steps=[0,10000,30000,60000,100000],cap=100000,free=10000,unit="searches/mo";let index=0,timer;function draw(n){const cost=(Math.max(0,n-10000)/1000*0.5);slider.value=String(n);amount.textContent=n.toLocaleString()+' '+unit;volume.textContent=n<=free?Math.round(n/free*100)+'% of free tier':'+'+(n-free).toLocaleString()+' over free';costEl.textContent=cost===null?"price unpublished":'$'+cost.toLocaleString('en-US',{maximumFractionDigits:2});costEl.classList.toggle('unknown',cost===null);fill.style.width=Math.min(100,n/free*100)+'%';fill.style.background=n>free?'var(--accent-3)':'var(--accent-2)';shapes.forEach((shape,i)=>shape.classList.toggle('on',i<Math.max(0,Math.ceil(n/cap*shapes.length))))}draw(steps[0]);timer=setInterval(()=>{index=(index+1)%steps.length;draw(steps[index])},1100);slider.addEventListener('input',()=>{clearInterval(timer);draw(Number(slider.value))})

Algolia는 검색 인덱스와 빠른 검색 API를 관리해 줍니다. 자체 검색 인프라 없이 자동 완성과 검색 경험을 만들 때 씁니다.

2026-10 기준 Free는 검색 요청 10,000건/월과 레코드 50,000개까지 $0입니다. Grow는 시작 $0/월에 검색 10,000건과 레코드 100,000개를 포함하며 초과 검색 $0.50/1,000건, 초과 레코드 $0.40/1,000개를 별도로 과금합니다.

입력할 때마다 검색하면 키 입력 수만큼 요청이 늘 수 있습니다. 복제 인덱스도 레코드에 잡히므로 검색량만 보고 비용을 추정하면 부족합니다. 데모는 레코드 50,000개 이하를 고정한 검색 요청 예시입니다.

언제 쓰나

검색 품질과 자동 완성을 빠르게 붙일 때 선택합니다. 자체 검색이나 DB 내장 검색과는 요청량·레코드 복제 비용을 함께 비교하세요.

페이지로 열기 ↗