Web/API
From Get docs
When writing code for the Web, there are a large number of Web APIs available. Below is a list of all the APIs and interfaces (object types) that you may be able to use while developing your Web app or site.
Web APIs are typically used with JavaScript, although this doesn't always have to be the case.
Specifications
This is a list of all the APIs that are available.
A
B
C
- CSS Counter Styles
- CSS Font Loading API '
- CSSOM
- Canvas API
- Channel Messaging API
- Clipboard API
- Console API
- Content Index API
- Credential Management API
D
E
F
G
H
I
L
M
- Media Capabilities API '
- Media Capture and Streams
- Media Session API
- Media Source Extensions '
- MediaStream Recording
N
P
- Page Visibility API
- Payment Request API
- Performance API
- Performance Timeline API
- Periodic Background Sync
- Permissions API
- Picture-in-Picture API
- Pointer Events
- Pointer Lock API
- Proximity Events '
- Push API '
R
S
- Screen Capture API
- Screen Wake Lock API
- Server Sent Events
- Service Workers API
- Storage
- Storage Access API
- Streams '
T
U
V
W
- Web Animations
- Web Audio API
- Web Authentication API
- Web Crypto API
- Web Notifications
- Web Storage API
- Web Workers API
- WebGL
- WebRTC
- WebVR API ' '
- WebVTT
- WebXR Device API
- Websockets API
Interfaces
This is a list of all the interfaces (that is, types of objects) that are available.
A
ANGLE_instanced_arraysAbortController'AbortSignal'AbsoluteOrientationSensorAbstractRangeAbstractWorkerAccelerometerAddressErrorsAesCbcParamsAesCtrParamsAesGcmParamsAesKeyGenParamsAmbientLightSensorAnalyserNodeAnimationAnimationEffectAnimationEvent'AnimationPlaybackEvent'AnimationTimelineArrayBufferViewAttrAudioBufferAudioBufferSourceNodeAudioConfiguration'AudioContextAudioContextLatencyCategoryAudioContextOptionsAudioDestinationNodeAudioListenerAudioNodeAudioNodeOptionsAudioParamAudioParamDescriptorAudioParamMap'AudioProcessingEvent'AudioScheduledSourceNodeAudioTrackAudioTrackListAudioWorkletAudioWorkletGlobalScopeAudioWorkletNode'AudioWorkletNodeOptionsAudioWorkletProcessorAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
B
BarcodeDetectorBaseAudioContextBasicCardRequestBasicCardResponse'BatteryManager'BeforeInstallPromptEvent'BeforeUnloadEventBiquadFilterNodeBlobBlobBuilder'BlobEventBluetooth'BluetoothAdvertisingData' 'BluetoothCharacteristicProperties'BluetoothDevice'BluetoothRemoteGATTCharacteristic'BluetoothRemoteGATTDescriptor'BluetoothRemoteGATTServer'BluetoothRemoteGATTService'Body'BroadcastChannel'BudgetServiceBufferSourceByteLengthQueuingStrategy'ByteString
C
CDATASectionCSSCSSConditionRuleCSSCounterStyleRuleCSSGroupingRuleCSSImageValue'CSSKeyframeRule'CSSKeyframesRule'CSSKeywordValue'CSSMathProduct'CSSMathSum'CSSMathValue'CSSMediaRuleCSSNamespaceRuleCSSNumericValue'CSSOMStringCSSPageRuleCSSPositionValue'CSSPrimitiveValue'CSSPseudoElement'CSSRotateCSSRuleCSSRuleListCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSStyleValue'CSSSupportsRuleCSSTransformComponentCSSTransformValueCSSUnitValue'CSSUnparsedValue'CSSValue'CSSValueList'CSSVariableReferenceValue'Cache'CacheStorage'CanvasCaptureMediaStreamTrack'CanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPosition'ChannelMergerNodeChannelSplitterNodeCharacterDataChildNode'Client'Clients'ClipboardClipboardEvent'ClipboardItemCloseEventCommentCompositionEventConstantSourceNodeConstrainBooleanConstrainDOMStringConstrainDoubleConstrainULongContactsManagerContentIndexContentIndexEventConvolverNodeCountQueuingStrategy'CrashReportBody'Credential'CredentialsContainer'CryptoCryptoKeyCryptoKeyPairCustomElementRegistry'CustomEvent
D
DOMError'DOMExceptionDOMHighResTimeStampDOMImplementationDOMLocator'DOMMatrix(WebKitCSSMatrix) 'DOMMatrixReadOnlyDOMObject'DOMParserDOMPointDOMPointInitDOMPointReadOnlyDOMQuad'DOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDOMUserData'DataTransferDataTransferItemDataTransferItemListDedicatedWorkerGlobalScopeDelayNodeDeprecationReportBody'DeviceLightEvent'DeviceMotionEvent'DeviceMotionEventAcceleration'DeviceMotionEventRotationRate'DeviceOrientationEvent'DeviceProximityEventDirectoryEntrySyncDirectoryReaderSyncDisplayMediaStreamConstraintsDocumentDocumentFragmentDocumentOrShadowRootDocumentTimelineDocumentTouch'DocumentTypeDoubleRangeDragEventDynamicsCompressorNode
E
EXT_blend_minmaxEXT_color_buffer_floatEXT_color_buffer_half_floatEXT_disjoint_timer_queryEXT_float_blendEXT_frag_depthEXT_sRGBEXT_shader_texture_lodEXT_texture_compression_bptcEXT_texture_compression_rgtcEXT_texture_filter_anisotropicEcKeyGenParamsEcKeyImportParamsEcdhKeyDeriveParamsEcdsaParamsEffectTiming'ElementElementCSSInlineStyleElementTraversal'ErrorEventEventEventListenerEventSourceEventTargetExtendableEvent'ExtendableMessageEvent'
F
FeaturePolicyFederatedCredentialFetchEventFileFileEntrySync'FileError'FileException' 'FileListFileReaderFileReaderSyncFileRequest'FileSystem'FileSystemDirectoryEntry'FileSystemDirectoryReader'FileSystemEntry'FileSystemEntrySync'FileSystemFileEntryFileSystemFlags' 'FileSystemSyncFocusEventFontFaceFontFaceSet'FontFaceSetLoadEvent'FormDataFormDataEntryValueFormDataEvent'FullscreenOptions
G
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuator'GamepadPose'GeolocationGeolocationCoordinatesGeolocationPositionGeolocationPositionErrorGeometryUtils'GestureEvent'GlobalEventHandlersGyroscope
H
HMDVRDevice' 'HTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBRElementHTMLBaseElementHTMLBaseFontElement'HTMLBodyElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElement'HTMLDListElementHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElement'HTMLDivElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElement'HTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElement'HTMLHRElementHTMLHeadElementHTMLHeadingElementHTMLHtmlElementHTMLHyperlinkElementUtils'HTMLIFrameElementHTMLImageElementHTMLInputElementHTMLKeygenElementHTMLLIElementHTMLLabelElementHTMLLegendElementHTMLLinkElementHTMLMapElementHTMLMarqueeElement'HTMLMediaElementHTMLMenuElement'HTMLMenuItemElement'HTMLMetaElementHTMLMeterElementHTMLModElementHTMLOListElementHTMLObjectElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOrForeignElementHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElement'HTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElement'HTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElementHashChangeEventHeaders'HistoryHkdfParamsHmacImportParamsHmacKeyGenParams
I
IDBCursorIDBCursorSync' 'IDBCursorWithValueIDBDatabaseIDBDatabaseException'IDBDatabaseSync' 'IDBEnvironment'IDBEnvironmentSync' 'IDBFactoryIDBFactorySync' 'IDBIndexIDBIndexSync' 'IDBKeyRangeIDBLocaleAwareKeyRange'IDBMutableFileIDBObjectStoreIDBObjectStoreSync'IDBOpenDBRequestIDBRequestIDBTransactionIDBTransactionSync' 'IDBVersionChangeEventIIRFilterNodeIdleDeadlineImageBitmapImageBitmapRenderingContext'ImageCapture'ImageDataIndexInputDeviceCapabilities'InputEventInstallEventInstallTrigger'IntersectionObserverIntersectionObserverEntryInterventionReportBody'
K
KHR_parallel_shader_compileKeyboard'KeyboardEventKeyboardLayoutMap'KeyframeEffect'KeyframeEffectOptions'
L
LargestContentfulPaintLayoutShiftLayoutShiftAttributionLinearAccelerationSensorLinkStyleLocalFileSystemLocalFileSystemSyncLocalMediaStream'LocationLock'LockManager'LockedFile
M
MIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIMessageEventMIDIOutputMapMSCandidateWindowHideMSCandidateWindowShowMSCandidateWindowUpdateMSGestureEvent'MSGraphicsTrustMSManipulationEvent'MSRangeCollectionMSSiteModeEventMagnetometerMathMLElementMediaCapabilities'MediaCapabilitiesInfo'MediaConfiguration'MediaDecodingConfiguration'MediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaEncodingConfiguration'MediaErrorMediaImageMediaKeyMessageEventMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaKeySystemConfigurationMediaKeysMediaListMediaMetadataMediaPositionStateMediaQueryListMediaQueryListEventMediaRecorderMediaRecorderErrorEventMediaSessionMediaSessionActionDetailsMediaSettingsRangeMediaSource'MediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamAudioSourceOptionsMediaStreamConstraintsMediaStreamEvent'MediaStreamTrackMediaStreamTrackAudioSourceNodeMediaStreamTrackAudioSourceOptionsMediaStreamTrackEventMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMerchantValidationEvent'MessageChannelMessageEventMessagePortMetadata'MimeTypeMimeTypeArrayMouseEventMouseScrollEvent'MouseWheelEvent'MutationEvent'MutationObserverMutationObserverInitMutationRecord
N
NDEFMessageNDEFReaderNDEFReadingEventNDEFRecordNDEFWriterNameList'NamedNodeMapNavigationPreloadManagerNavigatorNavigatorConcurrentHardwareNavigatorIDNavigatorLanguageNavigatorOnLineNavigatorPlugins'NavigatorStorageNetworkInformation'NodeNodeFilterNodeIteratorNodeListNonDocumentTypeChildNodeNotation'NotificationNotificationActionNotificationEvent'NotifyAudioAvailableEvent' '
O
OES_element_index_uintOES_fbo_render_mipmapOES_standard_derivativesOES_texture_floatOES_texture_float_linearOES_texture_half_floatOES_texture_half_float_linearOES_vertex_array_objectOVR_multiview2OfflineAudioCompletionEventOfflineAudioContextOffscreenCanvas'OrientationSensorOscillatorNodeOverconstrainedError
P
PageTransitionEventPaintWorkletPannerNodeParentNodePasswordCredentialPath2DPayerErrorsPaymentAddressPaymentCurrencyAmountPaymentDetailsBase'PaymentDetailsUpdatePaymentItemPaymentMethodChangeEventPaymentRequestPaymentRequestEvent'PaymentRequestUpdateEvent'PaymentResponse'PaymentValidationErrorsPbkdf2ParamsPerformancePerformanceEntryPerformanceEventTimingPerformanceFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigation'PerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceServerTimingPerformanceTiming'PeriodicSyncEventPeriodicSyncManagerPeriodicWavePermissionStatus'Permissions'PhotoCapabilities'PictureInPictureEventPictureInPictureWindowPluginPluginArray'Point'PointerEventPopStateEventPositionOptionsPositionSensorVRDevice' 'Presentation'PresentationAvailability'PresentationConnection'PresentationConnectionAvailableEvent'PresentationConnectionCloseEvent'PresentationConnectionList'PresentationReceiver'PresentationRequest'ProcessingInstructionProgressEventPromiseRejectionEventPublicKeyCredentialPublicKeyCredentialCreationOptionsPublicKeyCredentialRequestOptionsPushEventPushManager'PushMessageData'PushRegistrationManager'PushSubscription'
R
RTCAnswerOptionsRTCCertificateRTCConfigurationRTCDTMFSenderRTCDTMFToneChangeEventRTCDataChannel'RTCDataChannelEvent'RTCDtlsTransport'RTCErrorRTCErrorEventRTCIceCandidateRTCIceCandidateInitRTCIceCandidatePairRTCIceCandidatePairStatsRTCIceCandidateStatsRTCIceCandidateTypeRTCIceComponentRTCIceCredentialTypeRTCIceGathererStateRTCIceParametersRTCIceProtocolRTCIceRoleRTCIceServer'RTCIceTcpCandidateTypeRTCIceTransportRTCIceTransportStateRTCIdentityAssertion'RTCIdentityErrorEvent'RTCIdentityEvent'RTCInboundRtpStreamStatsRTCNetworkTypeRTCOfferAnswerOptionsRTCOfferOptionsRTCOutboundRtpStreamStatsRTCPeerConnectionRTCPeerConnectionIceErrorEventRTCPeerConnectionIceEvent'RTCRemoteOutboundRtpStreamStatsRTCRtcpParametersRTCRtpCapabilitiesRTCRtpCodecCapabilityRTCRtpCodecParametersRTCRtpContributingSourceRTCRtpEncodingParametersRTCRtpParametersRTCRtpReceiveParametersRTCRtpReceiverRTCRtpSendParametersRTCRtpSenderRTCRtpStreamStatsRTCRtpSynchronizationSourceRTCRtpTransceiverRTCRtpTransceiverDirectionRTCRtpTransceiverInitRTCSctpTransport'RTCSessionDescription'RTCSessionDescriptionCallback'RTCStatsRTCStatsIceCandidatePairStateRTCStatsReportRTCStatsTypeRTCTrackEventRTCTrackEventInitRadioNodeListRangeReadableByteStreamController'ReadableStreamReadableStreamBYOBReader'ReadableStreamBYOBRequest'ReadableStreamDefaultControllerReadableStreamDefaultReaderRelativeOrientationSensorRenderingContextReport'ReportingObserver'ReportingObserverOptions'RequestRequestDestinationResizeObserver'ResizeObserverEntryResponse'RsaHashedImportParamsRsaHashedKeyGenParamsRsaOaepParamsRsaPssParams
S
SVGAElementSVGAltGlyphDefElement'SVGAltGlyphElement'SVGAltGlyphItemElement'SVGAngleSVGAnimateColorElement'SVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPointsSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimationElementSVGCircleElementSVGClipPathElementSVGColorProfileElement'SVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGExternalResourcesRequired'SVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFilterPrimitiveStandardAttributesSVGFontElement'SVGFontFaceElement'SVGFontFaceFormatElement'SVGFontFaceNameElement'SVGFontFaceSrcElement'SVGFontFaceUriElement'SVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElement'SVGGlyphRefElement'SVGGradientElementSVGGraphicsElementSVGHKernElement'SVGImageElementSVGLengthSVGLengthListSVGLineElementSVGLinearGradientElementSVGMPathElementSVGMaskElementSVGMatrix'SVGMetadataElementSVGMissingGlyphElement'SVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntent'SVGSVGElementSVGScriptElementSVGSetElementSVGSolidcolorElement'SVGStopElementSVGStringListSVGStylableSVGStyleElementSVGSwitchElementSVGSymbolElementSVGTRefElement'SVGTSpanElementSVGTestsSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTransformableSVGURIReferenceSVGUnitTypesSVGUseElementSVGVKernElement'SVGViewElementSVGZoomAndPanScreenScreenOrientationScriptProcessorNode'ScrollToOptionsSecurityPolicyViolationEvent'Selection'SensorSensorErrorEventServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerMessageEvent' 'ServiceWorkerRegistrationServiceWorkerStateShadowRootSharedWorkerSharedWorkerGlobalScopeSlottableSourceBuffer'SourceBufferList'SpeechGrammar'SpeechGrammarList'SpeechRecognition'SpeechRecognitionAlternative'SpeechRecognitionError'SpeechRecognitionErrorEventSpeechRecognitionEvent'SpeechRecognitionResult'SpeechRecognitionResultList'SpeechSynthesis'SpeechSynthesisErrorEvent'SpeechSynthesisEvent'SpeechSynthesisUtterance'SpeechSynthesisVoice'StaticRangeStereoPannerNodeStorageStorageEstimateStorageEventStorageManagerStorageQuota'StylePropertyMap'StylePropertyMapReadOnly'StyleSheetStyleSheetListSubmitEventSubtleCryptoSyncEvent'SyncManager'
T
TaskAttributionTiming'TextTextDecoder'TextEncoder'TextMetricsTextRangeTextTrackTextTrackCueTextTrackListTimeEventTimeRangesTouchTouchEventTouchListTrackDefault'TrackDefaultList'TrackEventTransferableTransformStreamTransitionEvent'TreeWalkerTypeInfo'
U
UIEventULongRangeURLURLSearchParamsURLUtilsReadOnly'USBUSBAlternateInterface'USBConfigurationUSBDeviceUSBEndpointUSBInTransferResult'USBInterface'USBIsochronousInTransferPacket'USBIsochronousInTransferResult'USBIsochronousOutTransferPacket'USBIsochronousOutTransferResult'USBOutTransferResult'USVStringUserDataHandler'UserProximityEvent'
V
VRDisplay'VRDisplayCapabilities'VRDisplayEvent'VREyeParameters'VRFieldOfView'VRFrameData'VRLayerInit'VRPose'VRStageParameters'VTTCueVTTRegionValidityStateVideoConfiguration'VideoPlaybackQuality'VideoTrackVideoTrackListVisualViewport'
W
WEBGL_color_buffer_floatWEBGL_compressed_texture_astcWEBGL_compressed_texture_atcWEBGL_compressed_texture_etcWEBGL_compressed_texture_etc1WEBGL_compressed_texture_pvrtcWEBGL_compressed_texture_s3tcWEBGL_compressed_texture_s3tc_srgbWEBGL_debug_renderer_infoWEBGL_debug_shadersWEBGL_depth_textureWEBGL_draw_buffersWEBGL_lose_contextWakeLockWakeLockSentinelWaveShaperNodeWebGL2RenderingContext'WebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQuery'WebGLRenderbufferWebGLRenderingContextWebGLSampler'WebGLShaderWebGLShaderPrecisionFormatWebGLSync'WebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWheelEventWindowWindowClient'WindowEventHandlersWindowOrWorkerGlobalScopeWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWritableStream'WritableStreamDefaultController'WritableStreamDefaultWriter'
X
XDomainRequest'XMLDocumentXMLHttpRequestXMLHttpRequestEventTargetXMLHttpRequestResponseTypeXMLSerializerXPathEvaluatorXPathExceptionXPathExpressionXPathNSResolverXPathResultXRBoundedReferenceSpaceXREnvironmentBlendModeXREyeXRFrameXRFrameRequestCallbackXRHandednessXRInputSource'XRInputSourceArrayXRInputSourceEventXRInputSourceEventInitXRInputSourcesChangeEventXRInputSourcesChangeEventInitXRPermissionDescriptorXRPermissionStatusXRPoseXRReferenceSpaceXRReferenceSpaceEventXRReferenceSpaceEventInitXRReferenceSpaceTypeXRRenderState'XRRenderStateInitXRRigidTransformXRSessionXRSessionEventXRSessionEventInitXRSessionInitXRSessionModeXRSpace'XRSystem'XRTargetRayModeXRViewXRViewerPoseXRViewportXRVisibilityStateXRWebGLLayer'XRWebGLLayerInitXSLTProcessor
See also
Web APIs by Mozilla Contributors is licensed under CC-BY-SA 2.5.