-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1114 lines (1022 loc) · 61.2 KB
/
index.html
File metadata and controls
1114 lines (1022 loc) · 61.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EodStockAPI API | Developer-First Financial Data Platform</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
900: '#0c4a6e',
950: '#082f49'
},
accent: '#10b981',
warning: '#f59e0b',
danger: '#ef4444',
dark: {
50: '#1e293b',
100: '#0f172a',
200: '#020617',
800: '#1e293b',
900: '#0f172a',
950: '#020617'
}
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
animation: {
'float': 'float 6s ease-in-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
'pulse-dot': 'pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'slide-up': 'slide-up 0.5s ease-out',
'fade-in': 'fade-in 0.6s ease-out',
'gradient-x': 'gradient-x 3s ease infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
glow: {
'0%': { boxShadow: '0 0 5px #10b981, 0 0 10px #10b981, 0 0 15px #10b981' },
'100%': { boxShadow: '0 0 10px #10b981, 0 0 20px #10b981, 0 0 30px #10b981' }
},
'pulse-dot': {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.5 }
},
'slide-up': {
'0%': { transform: 'translateY(100px)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 }
},
'fade-in': {
'0%': { opacity: 0 },
'100%': { opacity: 1 }
},
'gradient-x': {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' }
}
},
backdropBlur: {
xs: '2px',
}
}
}
}
</script>
<style>
.glass {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-light {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.gradient-mesh {
background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
}
.terminal-glow {
box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.code-highlight {
background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
animation: code-highlight 2s ease-in-out infinite;
}
@keyframes code-highlight {
0%, 100% { opacity: 0; }
50% { opacity: 1; }
}
.status-indicator {
position: relative;
}
.status-indicator::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
border-radius: 50%;
background: inherit;
transform: translate(-50%, -50%);
animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero-grid {
background-image:
linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
background-size: 50px 50px;
mask: radial-gradient(circle at center, black 0%, transparent 70%);
}
.interactive-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
transform-style: preserve-3d;
}
.interactive-card:hover {
transform: translateY(-8px) rotateX(2deg);
}
.pricing-glow {
position: relative;
overflow: hidden;
}
.pricing-glow::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #10b981, #0ea5e9, #f59e0b, #10b981);
background-size: 300% 300%;
border-radius: inherit;
z-index: -1;
animation: gradient-x 3s ease infinite;
}
.typing-animation::after {
content: '|';
animation: blink 1s infinite;
}
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.api-showcase {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.feature-icon-container {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
border: 1px solid rgba(16, 185, 129, 0.2);
}
@keyframes ping {
75%, 100% {
transform: translate(-50%, -50%) scale(2.5);
opacity: 0;
}
}
</style>
</head>
<body class="bg-dark-200 text-white font-sans antialiased selection:bg-accent selection:text-dark-200">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 glass border-b border-white/10">
<div class="container mx-auto px-4 lg:px-6">
<div class="flex items-center justify-between h-16">
<div class="flex items-center space-x-8">
<div class="flex items-center">
<div class="w-8 h-8 bg-gradient-to-br from-accent to-primary-500 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-code text-white text-sm"></i>
</div>
<span class="text-xl font-bold">Market<span class="text-accent">Data</span></span>
</div>
<div class="hidden md:flex items-center space-x-1">
<a href="#features" class="px-3 py-2 rounded-lg text-sm font-medium hover:bg-white/5 transition">Features</a>
<a href="#pricing" class="px-3 py-2 rounded-lg text-sm font-medium hover:bg-white/5 transition">Pricing</a>
<a href="#docs" class="px-3 py-2 rounded-lg text-sm font-medium hover:bg-white/5 transition">Docs</a>
<a href="#playground" class="px-3 py-2 rounded-lg text-sm font-medium hover:bg-white/5 transition">Playground</a>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="hidden sm:flex items-center space-x-2 text-sm">
<div class="w-2 h-2 bg-accent rounded-full status-indicator"></div>
<span class="text-gray-300">99.9% uptime</span>
</div>
<button class="p-2 rounded-lg hover:bg-white/5 transition" id="theme-toggle">
<i class="fas fa-adjust text-gray-300"></i>
</button>
<a href="#" class="bg-accent hover:bg-accent/90 text-dark-200 font-semibold py-2 px-4 rounded-lg transition">
Get API Key
</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative min-h-screen flex items-center gradient-mesh overflow-hidden">
<div class="hero-grid absolute inset-0"></div>
<div class="absolute inset-0 bg-gradient-to-b from-transparent via-dark-200/50 to-dark-200"></div>
<div class="container mx-auto px-4 lg:px-6 relative z-10 pt-20">
<div class="max-w-6xl mx-auto">
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div class="space-y-8">
<div class="space-y-6">
<div class="inline-flex items-center space-x-2 bg-white/5 rounded-full px-4 py-2 border border-white/10">
<span class="w-2 h-2 bg-accent rounded-full animate-pulse-dot"></span>
<span class="text-sm font-medium">Live data from 50+ exchanges</span>
</div>
<h1 class="text-5xl lg:text-7xl font-bold leading-tight">
Financial APIs<br>
<span class="text-transparent bg-clip-text bg-gradient-to-r from-accent via-primary-500 to-warning">
Built for Developers
</span>
</h1>
<p class="text-xl text-gray-300 max-w-2xl">
Real-time market data, historical prices, and financial news through a single,
developer-friendly API. Start building in minutes, scale to millions.
</p>
</div>
<div class="flex flex-col sm:flex-row gap-4">
<a href="#" class="bg-accent hover:bg-accent/90 text-dark-200 font-semibold py-3 px-6 rounded-lg transition inline-flex items-center justify-center">
Start Building Now
<i class="fas fa-arrow-right ml-2"></i>
</a>
<a href="#playground" class="glass-light hover:bg-white/10 font-semibold py-3 px-6 rounded-lg transition inline-flex items-center justify-center">
Try the Playground
<i class="fas fa-play ml-2"></i>
</a>
</div>
<div class="flex items-center space-x-8 text-sm text-gray-400">
<div class="flex items-center space-x-2">
<i class="fas fa-shield-alt text-accent"></i>
<span>Enterprise Security</span>
</div>
<div class="flex items-center space-x-2">
<i class="fas fa-bolt text-warning"></i>
<span>Sub-10ms Latency</span>
</div>
<div class="flex items-center space-x-2">
<i class="fas fa-globe text-primary-500"></i>
<span>Global Coverage</span>
</div>
</div>
</div>
<div class="relative">
<div class="glass rounded-2xl p-6 terminal-glow">
<div class="flex items-center space-x-2 mb-4">
<div class="w-3 h-3 bg-danger rounded-full"></div>
<div class="w-3 h-3 bg-warning rounded-full"></div>
<div class="w-3 h-3 bg-accent rounded-full"></div>
<span class="text-xs text-gray-400 ml-4 font-mono">~/EodStockAPI-api</span>
</div>
<div class="font-mono text-sm space-y-2">
<div class="text-gray-400">$ npm install @EodStockAPI/sdk</div>
<div class="text-accent">✓ Package installed successfully</div>
<div class="text-gray-400 mt-4">$ node example.js</div>
<div class="mt-2 p-3 bg-dark-950/50 rounded-lg">
<div class="text-primary-500">// Real-time stock quote</div>
<div class="text-white">const data = await md.stocks.quote('AAPL');</div>
<div class="text-accent">→ AAPL: $175.43 (+2.15%)</div>
<div class="text-gray-400 typing-animation">Response time: 8ms</div>
</div>
</div>
</div>
<div class="absolute -top-4 -right-4 w-24 h-24 bg-accent/20 rounded-full animate-float blur-xl"></div>
<div class="absolute -bottom-4 -left-4 w-32 h-32 bg-primary-500/20 rounded-full animate-float blur-xl" style="animation-delay: -3s"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Developer Experience -->
<section id="features" class="py-20 relative">
<div class="container mx-auto px-4 lg:px-6">
<div class="max-w-3xl mx-auto text-center mb-16">
<h2 class="text-4xl lg:text-5xl font-bold mb-6">
Developer Experience
<span class="text-accent">First</span>
</h2>
<p class="text-xl text-gray-300">
Built by developers, for developers. Every decision optimized for your productivity.
</p>
</div>
<div class="grid lg:grid-cols-3 gap-8 mb-16">
<div class="interactive-card glass-light rounded-2xl p-8 hover:bg-white/10">
<div class="feature-icon-container w-12 h-12 rounded-xl flex items-center justify-center mb-6">
<i class="fas fa-rocket text-accent text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Instant Setup</h3>
<p class="text-gray-300 mb-6">One command to install. One line to authenticate. Start fetching data in under 60 seconds.</p>
<div class="bg-dark-950/50 rounded-lg p-3 font-mono text-sm">
<div class="text-primary-500">npm install @EodStockAPI/sdk</div>
</div>
</div>
<div class="interactive-card glass-light rounded-2xl p-8 hover:bg-white/10">
<div class="feature-icon-container w-12 h-12 rounded-xl flex items-center justify-center mb-6">
<i class="fas fa-code text-warning text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Type-Safe SDKs</h3>
<p class="text-gray-300 mb-6">Full TypeScript support with auto-completion. No more guessing API responses.</p>
<div class="space-y-1">
<div class="flex items-center space-x-2 text-sm">
<i class="fab fa-js text-warning"></i>
<span>JavaScript/TypeScript</span>
</div>
<div class="flex items-center space-x-2 text-sm">
<i class="fab fa-python text-blue-400"></i>
<span>Python</span>
</div>
<div class="flex items-center space-x-2 text-sm">
<i class="fas fa-code text-accent"></i>
<span>Go, Rust, PHP +more</span>
</div>
</div>
</div>
<div class="interactive-card glass-light rounded-2xl p-8 hover:bg-white/10">
<div class="feature-icon-container w-12 h-12 rounded-xl flex items-center justify-center mb-6">
<i class="fas fa-bolt text-primary-500 text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">WebSocket Streams</h3>
<p class="text-gray-300 mb-6">Real-time data streams with automatic reconnection and backpressure handling.</p>
<div class="flex items-center space-x-4 text-sm">
<div class="flex items-center space-x-2">
<div class="w-2 h-2 bg-accent rounded-full animate-pulse"></div>
<span>Live</span>
</div>
<div class="text-gray-400">8ms avg latency</div>
</div>
</div>
</div>
<!-- API Showcase -->
<div class="glass rounded-2xl p-8 lg:p-12 api-showcase">
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div>
<h3 class="text-3xl font-bold mb-6">Powerful. Simple. Consistent.</h3>
<p class="text-xl text-gray-300 mb-8">
One unified API for all your financial data needs. From real-time quotes to historical analysis.
</p>
<div class="space-y-6">
<div class="flex items-start space-x-4">
<div class="w-8 h-8 bg-accent/20 rounded-lg flex items-center justify-center flex-shrink-0 mt-1">
<i class="fas fa-chart-line text-accent text-sm"></i>
</div>
<div>
<h4 class="font-semibold mb-2">Real-time Market Data</h4>
<p class="text-gray-300">Live quotes, trades, and order book data from 50+ global exchanges</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-8 h-8 bg-primary-500/20 rounded-lg flex items-center justify-center flex-shrink-0 mt-1">
<i class="fas fa-database text-primary-500 text-sm"></i>
</div>
<div>
<h4 class="font-semibold mb-2">Historical Data</h4>
<p class="text-gray-300">30+ years of OHLCV data, splits, dividends, and corporate actions</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-8 h-8 bg-warning/20 rounded-lg flex items-center justify-center flex-shrink-0 mt-1">
<i class="fas fa-newspaper text-warning text-sm"></i>
</div>
<div>
<h4 class="font-semibold mb-2">Financial News</h4>
<p class="text-gray-300">AI-powered sentiment analysis and real-time news aggregation</p>
</div>
</div>
</div>
</div>
<div class="space-y-4">
<div class="glass rounded-xl border border-white/20">
<div class="bg-dark-950 px-4 py-2 border-b border-white/10 rounded-t-xl flex items-center space-x-2">
<div class="w-3 h-3 bg-danger rounded-full"></div>
<div class="w-3 h-3 bg-warning rounded-full"></div>
<div class="w-3 h-3 bg-accent rounded-full"></div>
<span class="text-xs text-gray-400 ml-4 font-mono">GET /v1/stocks/AAPL/quote</span>
</div>
<div class="p-6 font-mono text-sm">
<div class="space-y-1">
<div class="text-gray-500">{</div>
<div class="ml-4 text-blue-400">"symbol"<span class="text-white">:</span> <span class="text-green-400">"AAPL"</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"price"<span class="text-white">:</span> <span class="text-accent">175.43</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"change"<span class="text-white">:</span> <span class="text-accent">+2.15</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"changePercent"<span class="text-white">:</span> <span class="text-accent">+1.24</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"volume"<span class="text-white">:</span> <span class="text-warning">64842100</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"timestamp"<span class="text-white">:</span> <span class="text-green-400">"2024-01-15T16:00:00Z"</span></div>
<div class="text-gray-500">}</div>
</div>
<div class="mt-4 pt-4 border-t border-white/10 text-gray-400 text-xs">
Response: 200 OK • 8ms
</div>
</div>
</div>
<div class="glass rounded-xl p-4 border border-accent/20">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-accent/20 rounded-lg flex items-center justify-center">
<i class="fas fa-zap text-accent text-sm"></i>
</div>
<div class="flex-1">
<div class="font-semibold text-sm">WebSocket Connected</div>
<div class="text-gray-400 text-xs">Receiving real-time updates</div>
</div>
<div class="w-2 h-2 bg-accent rounded-full animate-pulse"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing -->
<section id="pricing" class="py-20 bg-gradient-to-b from-dark-200 to-dark-950">
<div class="container mx-auto px-4 lg:px-6">
<div class="max-w-3xl mx-auto text-center mb-16">
<h2 class="text-4xl lg:text-5xl font-bold mb-6">
Simple, Usage-Based
<span class="text-accent">Pricing</span>
</h2>
<p class="text-xl text-gray-300">
Start free, pay as you grow. No hidden fees, no surprise bills.
</p>
</div>
<div class="grid lg:grid-cols-3 gap-8 max-w-6xl mx-auto">
<!-- Free Tier -->
<div class="interactive-card glass-light rounded-2xl p-8 border border-white/10">
<div class="text-center mb-8">
<h3 class="text-2xl font-bold mb-2">Developer</h3>
<div class="mb-4">
<span class="text-5xl font-bold">$0</span>
<span class="text-gray-400">/month</span>
</div>
<p class="text-gray-300">Perfect for testing and prototyping</p>
</div>
<div class="space-y-4 mb-8">
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>1,000 API calls/month</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>15-minute delayed data</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Historical EOD data</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Community support</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>All SDKs included</span>
</div>
</div>
<button class="w-full bg-white/10 hover:bg-white/20 text-white font-semibold py-3 rounded-lg transition">
Start Free
</button>
</div>
<!-- Pro Tier -->
<div class="interactive-card pricing-glow glass rounded-2xl p-8 border-2 border-accent transform scale-105">
<div class="absolute -top-3 left-1/2 transform -translate-x-1/2">
<span class="bg-accent text-dark-200 text-xs font-bold px-3 py-1 rounded-full">MOST POPULAR</span>
</div>
<div class="text-center mb-8">
<h3 class="text-2xl font-bold mb-2">Professional</h3>
<div class="mb-4">
<span class="text-5xl font-bold">$99</span>
<span class="text-gray-400">/month</span>
</div>
<p class="text-gray-300">For production applications</p>
</div>
<div class="space-y-4 mb-8">
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>100,000 API calls/month</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Real-time data</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>WebSocket streaming</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Financial news with sentiment</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Priority support</span>
</div>
</div>
<button class="w-full bg-accent hover:bg-accent/90 text-dark-200 font-semibold py-3 rounded-lg transition">
Get Started
</button>
</div>
<!-- Enterprise Tier -->
<div class="interactive-card glass-light rounded-2xl p-8 border border-white/10">
<div class="text-center mb-8">
<h3 class="text-2xl font-bold mb-2">Enterprise</h3>
<div class="mb-4">
<span class="text-5xl font-bold">Custom</span>
</div>
<p class="text-gray-300">For large-scale applications</p>
</div>
<div class="space-y-4 mb-8">
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Unlimited API calls</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Direct exchange feeds</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Custom SLA</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>Dedicated infrastructure</span>
</div>
<div class="flex items-center space-x-3">
<i class="fas fa-check text-accent"></i>
<span>24/7 phone support</span>
</div>
</div>
<button class="w-full bg-white/10 hover:bg-white/20 text-white font-semibold py-3 rounded-lg transition">
Contact Sales
</button>
</div>
</div>
<!-- Usage Calculator -->
<div class="max-w-4xl mx-auto mt-16 glass rounded-2xl p-8">
<h3 class="text-2xl font-bold text-center mb-8">Usage Calculator</h3>
<div class="grid md:grid-cols-2 gap-8 items-center">
<div class="space-y-6">
<div>
<label class="block text-sm font-medium mb-2">API Calls per Month</label>
<input type="range" min="1000" max="1000000" value="50000" class="w-full" id="usage-slider">
<div class="flex justify-between text-sm text-gray-400 mt-2">
<span>1K</span>
<span>1M</span>
</div>
</div>
<div>
<label class="block text-sm font-medium mb-2">Data Type</label>
<select class="w-full bg-dark-950 border border-white/20 rounded-lg px-4 py-2">
<option>Real-time + Historical</option>
<option>Historical Only</option>
<option>Real-time Only</option>
</select>
</div>
</div>
<div class="text-center">
<div class="text-4xl font-bold text-accent mb-2" id="calculated-price">$99</div>
<div class="text-gray-400">per month</div>
<div class="mt-4 text-sm text-gray-300">
<span id="usage-amount">50,000</span> API calls included
</div>
</div>
</div>
</div>
</div>
</section>
<!-- API Playground -->
<section id="playground" class="py-20">
<div class="container mx-auto px-4 lg:px-6">
<div class="max-w-3xl mx-auto text-center mb-16">
<h2 class="text-4xl lg:text-5xl font-bold mb-6">
Try Our API
<span class="text-accent">Live</span>
</h2>
<p class="text-xl text-gray-300">
Test our endpoints right here. No signup required.
</p>
</div>
<div class="max-w-6xl mx-auto">
<div class="grid lg:grid-cols-2 gap-8">
<!-- Request Panel -->
<div class="glass rounded-2xl p-6">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-bold">API Request</h3>
<div class="flex items-center space-x-2">
<div class="w-2 h-2 bg-accent rounded-full animate-pulse"></div>
<span class="text-sm text-gray-400">Live Playground</span>
</div>
</div>
<div class="space-y-4">
<div class="flex space-x-2">
<select class="bg-dark-950 border border-white/20 rounded-lg px-3 py-2 font-mono text-sm">
<option>GET</option>
<option>POST</option>
</select>
<input type="text"
value="/v1/stocks/AAPL/quote"
class="flex-1 bg-dark-950 border border-white/20 rounded-lg px-4 py-2 font-mono text-sm">
</div>
<div>
<label class="block text-sm font-medium mb-2">Headers</label>
<div class="bg-dark-950 rounded-lg p-3 font-mono text-sm">
<div class="text-blue-400">Authorization: <span class="text-green-400">Bearer your-api-key</span></div>
<div class="text-blue-400">Content-Type: <span class="text-green-400">application/json</span></div>
</div>
</div>
<div class="flex space-x-4">
<button class="bg-accent hover:bg-accent/90 text-dark-200 font-semibold py-2 px-6 rounded-lg transition" id="send-request">
Send Request
</button>
<button class="bg-white/10 hover:bg-white/20 text-white font-semibold py-2 px-4 rounded-lg transition">
<i class="fas fa-copy"></i>
</button>
</div>
</div>
</div>
<!-- Response Panel -->
<div class="glass rounded-2xl p-6">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-bold">Response</h3>
<div class="flex items-center space-x-4 text-sm">
<span class="text-accent">200 OK</span>
<span class="text-gray-400">12ms</span>
</div>
</div>
<div class="bg-dark-950 rounded-lg p-4 font-mono text-sm max-h-96 overflow-auto">
<div class="space-y-1">
<div class="text-gray-500">{</div>
<div class="ml-4 text-blue-400">"symbol"<span class="text-white">:</span> <span class="text-green-400">"AAPL"</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"name"<span class="text-white">:</span> <span class="text-green-400">"Apple Inc."</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"price"<span class="text-white">:</span> <span class="text-accent">175.43</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"change"<span class="text-white">:</span> <span class="text-accent">+2.15</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"changePercent"<span class="text-white">:</span> <span class="text-accent">+1.24</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"dayHigh"<span class="text-white">:</span> <span class="text-yellow-400">176.50</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"dayLow"<span class="text-white">:</span> <span class="text-yellow-400">173.28</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"volume"<span class="text-white">:</span> <span class="text-warning">64842100</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"marketCap"<span class="text-white">:</span> <span class="text-warning">2745632000000</span><span class="text-white">,</span></div>
<div class="ml-4 text-blue-400">"timestamp"<span class="text-white">:</span> <span class="text-green-400">"2024-01-15T20:59:45Z"</span></div>
<div class="text-gray-500">}</div>
</div>
</div>
<div class="mt-4 pt-4 border-t border-white/10">
<div class="flex items-center justify-between text-sm">
<span class="text-gray-400">Response Size: 1.2KB</span>
<button class="text-accent hover:text-accent/80 transition">
<i class="fas fa-download mr-1"></i>
Download
</button>
</div>
</div>
</div>
</div>
<!-- Code Examples -->
<div class="mt-12 glass rounded-2xl p-8">
<h3 class="text-2xl font-bold mb-6 text-center">Implementation Examples</h3>
<div class="grid md:grid-cols-3 gap-6">
<div class="bg-dark-950 rounded-xl p-4">
<div class="flex items-center space-x-2 mb-3">
<i class="fab fa-js text-warning"></i>
<span class="font-semibold">JavaScript</span>
</div>
<pre class="text-sm font-mono text-gray-300 overflow-auto"><code>const response = await fetch(
'https://api.eod-stock-api.org/v1/stocks/AAPL/quote',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data.price);</code></pre>
</div>
<div class="bg-dark-950 rounded-xl p-4">
<div class="flex items-center space-x-2 mb-3">
<i class="fab fa-python text-blue-400"></i>
<span class="font-semibold">Python</span>
</div>
<pre class="text-sm font-mono text-gray-300 overflow-auto"><code>import requests
url = "https://api.eod-stock-api.org/v1/stocks/AAPL/quote"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get(url, headers=headers)
data = response.json()
print(data["price"])</code></pre>
</div>
<div class="bg-dark-950 rounded-xl p-4">
<div class="flex items-center space-x-2 mb-3">
<i class="fas fa-code text-accent"></i>
<span class="font-semibold">cURL</span>
</div>
<pre class="text-sm font-mono text-gray-300 overflow-auto"><code>curl -X GET \
https://api.eod-stock-api.org/v1/stocks/AAPL/quote \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"</code></pre>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Documentation & Resources -->
<section id="docs" class="py-20 bg-gradient-to-b from-dark-200 to-dark-950">
<div class="container mx-auto px-4 lg:px-6">
<div class="max-w-3xl mx-auto text-center mb-16">
<h2 class="text-4xl lg:text-5xl font-bold mb-6">
Comprehensive
<span class="text-accent">Resources</span>
</h2>
<p class="text-xl text-gray-300">
Everything you need to integrate and scale successfully.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto">
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-primary-500/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fas fa-book text-primary-500 text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">API Documentation</h3>
<p class="text-gray-300 mb-4">Complete reference with interactive examples and detailed explanations.</p>
<div class="flex items-center text-accent font-medium">
View Docs <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-accent/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fas fa-graduation-cap text-accent text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Tutorials & Guides</h3>
<p class="text-gray-300 mb-4">Step-by-step tutorials for common use cases and advanced scenarios.</p>
<div class="flex items-center text-accent font-medium">
Start Learning <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-warning/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fab fa-github text-warning text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Code Examples</h3>
<p class="text-gray-300 mb-4">Open-source examples and starter templates in multiple languages.</p>
<div class="flex items-center text-accent font-medium">
Browse GitHub <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-blue-500/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fas fa-comments text-blue-500 text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Developer Community</h3>
<p class="text-gray-300 mb-4">Join thousands of developers building with EodStockAPI API.</p>
<div class="flex items-center text-accent font-medium">
Join Discord <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-red-500/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fas fa-headset text-red-500 text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">24/7 Support</h3>
<p class="text-gray-300 mb-4">Get help when you need it with our responsive support team.</p>
<div class="flex items-center text-accent font-medium">
Get Support <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<a href="#" class="interactive-card group glass-light rounded-2xl p-8 hover:bg-white/10 block">
<div class="w-12 h-12 bg-green-500/20 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
<i class="fas fa-heart-pulse text-green-500 text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-4">Status & Monitoring</h3>
<p class="text-gray-300 mb-4">Real-time API status, performance metrics, and incident reports.</p>
<div class="flex items-center text-accent font-medium">
View Status <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-dark-950 pt-16 pb-8">
<div class="container mx-auto px-4 lg:px-6">
<div class="grid md:grid-cols-4 gap-8 mb-12">
<div class="space-y-6">
<div class="flex items-center">
<div class="w-8 h-8 bg-gradient-to-br from-accent to-primary-500 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-code text-white text-sm"></i>
</div>
<span class="text-xl font-bold">Market<span class="text-accent">Data</span></span>
</div>
<p class="text-gray-400">
Developer-first financial APIs powering the next generation of fintech applications.
</p>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 bg-white/5 hover:bg-accent/20 rounded-lg flex items-center justify-center transition group">
<i class="fab fa-github text-gray-400 group-hover:text-accent"></i>
</a>
<a href="#" class="w-10 h-10 bg-white/5 hover:bg-accent/20 rounded-lg flex items-center justify-center transition group">
<i class="fab fa-twitter text-gray-400 group-hover:text-accent"></i>
</a>
<a href="#" class="w-10 h-10 bg-white/5 hover:bg-accent/20 rounded-lg flex items-center justify-center transition group">
<i class="fab fa-linkedin text-gray-400 group-hover:text-accent"></i>
</a>
<a href="#" class="w-10 h-10 bg-white/5 hover:bg-accent/20 rounded-lg flex items-center justify-center transition group">
<i class="fab fa-discord text-gray-400 group-hover:text-accent"></i>
</a>
</div>
</div>
<div>
<h4 class="font-bold mb-4">Products</h4>
<ul class="space-y-3 text-gray-400">
<li><a href="#" class="hover:text-accent transition">Stock Market Data</a></li>
<li><a href="#" class="hover:text-accent transition">Crypto Data</a></li>
<li><a href="#" class="hover:text-accent transition">Forex Data</a></li>
<li><a href="#" class="hover:text-accent transition">Financial News</a></li>
<li><a href="#" class="hover:text-accent transition">Economic Indicators</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Developers</h4>
<ul class="space-y-3 text-gray-400">
<li><a href="#" class="hover:text-accent transition">API Documentation</a></li>
<li><a href="#" class="hover:text-accent transition">Code Examples</a></li>
<li><a href="#" class="hover:text-accent transition">SDKs</a></li>
<li><a href="#" class="hover:text-accent transition">Webhooks</a></li>
<li><a href="#" class="hover:text-accent transition">Rate Limits</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Company</h4>
<ul class="space-y-3 text-gray-400">
<li><a href="#" class="hover:text-accent transition">About</a></li>
<li><a href="#" class="hover:text-accent transition">Blog</a></li>
<li><a href="#" class="hover:text-accent transition">Careers</a></li>
<li><a href="#" class="hover:text-accent transition">Privacy Policy</a></li>
<li><a href="#" class="hover:text-accent transition">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-white/10">
<div class="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
<p class="text-gray-400 text-sm">
© 2024 EodStockAPI API. All rights reserved.
</p>
<div class="flex items-center space-x-6 text-sm text-gray-400">
<div class="flex items-center space-x-2">
<div class="w-2 h-2 bg-accent rounded-full animate-pulse"></div>
<span>All systems operational</span>
</div>
<div class="flex items-center space-x-2">
<i class="fas fa-shield-alt text-accent"></i>
<span>SOC 2 Compliant</span>
</div>
</div>
</div>
</div>
</div>
</footer>
<script>
// Initialize components
document.addEventListener('DOMContentLoaded', function() {
// Usage calculator
const slider = document.getElementById('usage-slider');
const priceDisplay = document.getElementById('calculated-price');
const usageDisplay = document.getElementById('usage-amount');
function updatePrice() {
const value = parseInt(slider.value);
let price = 0;
if (value <= 1000) price = 0;
else if (value <= 100000) price = 99;
else if (value <= 500000) price = 299;
else price = 999;
priceDisplay.textContent = price === 0 ? 'Free' : `$${price}`;
usageDisplay.textContent = value.toLocaleString();
}
if (slider) {
slider.addEventListener('input', updatePrice);
updatePrice();
}
// Mock API playground
const sendButton = document.getElementById('send-request');
if (sendButton) {
sendButton.addEventListener('click', function() {
this.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i>Sending...';
this.disabled = true;
setTimeout(() => {
this.innerHTML = 'Send Request';
this.disabled = false;
}, 1500);
});
}
// Smooth scrolling
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({ behavior: 'smooth' });
}
});
});
// Theme toggle
const themeToggle = document.getElementById('theme-toggle');
themeToggle?.addEventListener('click', () => {
document.documentElement.classList.toggle('dark');
const isDark = document.documentElement.classList.contains('dark');
themeToggle.innerHTML = isDark ? '<i class="fas fa-sun text-yellow-300"></i>' : '<i class="fas fa-moon text-gray-600"></i>';
localStorage.setItem('theme', isDark ? 'dark' : 'light');