@extends('layouts.app') @section('title', $service->name) @section('active', 'services') @section('content')
All APIs

{{ $service->name }}

{{ $service->description }}

@if($service->useCaseList())
What this API can do
    @foreach($service->useCaseList() as $use)
  • {{ $use }}
  • @endforeach
@endif
{{ (int) $service->credits_per_hit }} credit/hit {{ strtoupper($service->method) }} {{ (int) setting('api_rate_limit',60) }}/min • {{ (int) setting('api_ip_rate_limit',120) }}/min IP ~{{ $stats['avg_ms'] }}ms {{ $stats['success_24h'] }}% success {{ number_format($stats['calls_24h']) }} calls/24h
@php $myApiKey = 'YOUR_API_KEY'; $exampleFull = $service->codeSamples($myApiKey)['full_url']; @endphp
{{ strtoupper($service->method) }}{{ $exampleFull }}
Authentication: use YOUR_API_KEY in the request sample or send it as an X-API-KEY header. This documentation never renders a user's key.
Integration
@if(count($service->paramList())) Parameters
@foreach($service->paramList() as $p) @endforeach
NameTypeRequiredExample
{{ $p['name'] }}
{{ $p['label'] ?? '' }}
string{!! !empty($p['required']) ? badge('yes', 'primary') : badge('optional', 'info') !!}{{ $service->exampleParams()[$p['name']] ?? $p['placeholder'] ?? '—' }}
@endif @if($service->docsMarkdown())
{!! nl2br(e($service->docsMarkdown())) !!}
@endif @if($service->docs_rate_limit)
Rate limit: {{ $service->docs_rate_limit }}
@endif @include('partials.code-samples', ['service' => $service, '__apiKey' => $myApiKey])
Documentation only. The request samples, parameters, response format and error codes are shown here. Account keys and live request forms are intentionally excluded.

Pricing for {{ $service->name }}

Credits apply only to this API. Rate: {{ (int) setting('api_rate_limit',60) }}/min per key • {{ (int) $service->credits_per_hit }} credit/hit

@forelse($packages as $p)
@if($p->highlight) Popular@endif

{{ $p->name }}

{{ $p->price > 0 ? taka($p->price) : 'FREE' }}
{{ number_format((int) $p->requests) }} Credits • {{ (int) $p->validity_days }} Days
    @forelse($p->featureList() as $f)
  • {{ $f }}
  • @empty
  • Instant activation
  • @endforelse
@auth {{ $p->price > 0 ? 'Buy Now' : 'Claim Free' }} @else Get Started @endauth
@empty
No packages yet
@endforelse @if($service->errorCodes())
Error Codes
@foreach($service->errorCodes() as $e)@endforeach
CodeMessage
{{ $e['code'] }}{{ $e['message'] }}
{{ $e['description'] ?? '' }}
@endif
@push('scripts') @endpush @endsection