Extractor de Contenido de Noticias API

La API de Extractor de Contenido de Noticias extrae el contenido textual central y los metadatos de los artículos de noticias, soportando múltiples sitios web en cualquier idioma para análisis y reutilización.

Acerca de la API: 

La API Extractor de Contenido de Noticias es una herramienta versátil diseñada para extraer el contenido textual principal y los metadatos relevantes de artículos de noticias en línea. Utilizando un algoritmo propietario, esta API es capaz de analizar y extraer información clave de manera eficiente, incluso de sitios web menos conocidos o de nicho. Soporta una amplia variedad de idiomas, lo que la convierte en una solución ideal para desarrolladores que buscan automatizar la recolección de datos de noticias para análisis, clasificación o reutilización en diversas aplicaciones. Esta API funciona óptimamente con artículos de formato largo y sitios que contienen predominantemente contenido textual. Si bien no es muy adecuada para páginas centradas en video o contenido no textual, su capacidad para manejar una amplia variedad de fuentes la convierte en una opción poderosa y flexible para proyectos de minería de datos, agregadores de noticias o aplicaciones de inteligencia artificial. Con respuestas en JSON, es fácil de integrar en cualquier sistema moderno, proporcionando acceso rápido y estructurado a la información más relevante.

Documentación de la API

Endpoints


Envía la URL del artículo de noticias al punto final junto con el formato opcional (JSON o texto plano). La API devolverá el contenido principal y los metadatos del artículo.



                                                                            
GET https://zylalabs.com/api/5295/news+content+extractor+api/6836/extract+article+content
                                                                            
                                                                        

Extraer contenido del artículo. - Características del Endpoint

Objeto Descripción
url [Requerido]
format Opcional Returned format of article content. html returns the article content as HTML, md returns the article content as markdown, and text returns the article content as plain text. Defaults to html.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"title":"Lionel Messi feels \u2018like a kid\u2019 after Argentina hat-trick against Bolivia - The Athletic","url":"https:\/\/www.nytimes.com\/athletic\/5846795\/2024\/10\/16\/lionel-messi-hat-trick-argentina-bolivia\/?searchResultPosition=1","author":"Ali Rampling","thumbnailUrl":"https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032704\/GettyImages-2177960715-e1729063644703.jpg?width=1200&height=630&fit=cover","tags":["Inter Miami CF"," Argentina"," Soccer"],"format":"html","content":"<p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lionel-messi-HlEFpLdbHt68CnvJ\/'>Lionel Messi<\/a> says he still feels \u201clike a kid\u201d playing for Argentina after scoring a hat-trick in his country\u2019s 6-0 victory over Bolivia on Tuesday.<\/p><p>The 37-year-old played a role in five of Argentina\u2019s six goals during the World Cup qualifying win at Estadio Mas Monumental in Buenos Aires, providing two assists in addition to his hat-trick.<\/p><p>Advertisement<\/p><p>It took Messi\u2019s tally of senior Argentina goals to 112 \u2014 a figure bettered only by <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/cristiano-ronaldo-jh1IjFA8SnHLGtwM\/'>Cristiano Ronaldo<\/a>\u2019s 133 for Portugal in men\u2019s international football.<\/p><p>\u201cIt\u2019s really nice to come here, to feel the affection of the people,\u201d Messi said.<\/p><p>\u201cThis drives me. (I\u2019m) enjoying being happy where I am. Despite my age, when I\u2019m here, I feel like a kid because I\u2019m comfortable with this team. As long as I feel good and can keep performing the way I want, I\u2019ll keep enjoying it.\u201d<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/09\/26154131\/GettyImages-1807033621-1024x683.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>How Argentina are preparing for life after Lionel Messi: Wider, more direct but less clinical<\/p><p>Messi gave Argentina the lead after 19 minutes on Tuesday evening, finishing low after <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lautaro-martinez-Ce9CtvBqInoKkh9G\/'>Lautaro Martinez<\/a> had capitalised on a defensive slip to win the ball high up in the Bolivia half.<\/p><p>The Argentina captain then turned provider for Martinez as the hosts doubled their advantage on the stroke of half time, squaring the ball to his team-mate and leaving him with an empty net to roll into.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032859\/GettyImages-2177919962-scaled.jpg'><p>Argentina added a third in first-half stoppage time through <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/julian-alvarez-Gc4ZQQEwFSbwIM9v\/'>Julian Alvarez<\/a> after the Atletico Madrid forward had been found by a quick Messi free-kick.<\/p><p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/thiago-almada-lYAzmMNJhNvBXFjZ\/'>Thiago Almada<\/a> extended Argentina\u2019s lead mid-way through the second half, before Messi added his side\u2019s fifth and sixth in the space of three minutes to complete the scoring.<\/p><p>The Inter Miami forward found the bottom corner from just inside the penalty area in the 84th minute, and completed his hat-trick in the 86th with another low strike after combining with <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/nico-paz-30JZNE0k3zCnSuEf\/'>Nico Paz<\/a>.<\/p><p>The match was just Messi\u2019s second for Argentina since <a href='https:\/\/www.nytimes.com\/athletic\/5637802\/2024\/07\/15\/lionel-messi-injury-copa-america-final\/'>being forced off with an ankle injury in July\u2019s Copa America final<\/a>. He returned to club action in September and has scored five goals in six <a href='https:\/\/www.nytimes.com\/athletic\/football\/mls\/'>Major League Soccer<\/a> (MLS) appearances since his comeback.<\/p><p>Tuesday\u2019s victory leaves Argentina top of their World Cup qualifying group with 22 points from 10 games.<\/p><p>Messi had said in 2022 the Qatar World Cup would be his last, but speaking ahead of the 2024 Copa America\u00a0<a href='https:\/\/www.nytimes.com\/athletic\/5548901\/2024\/06\/07\/lionel-messi-world-cup-2026\/'>he did not rule out playing at the 2026 tournament<\/a>. He will be 38 when the next World Cup, staged in the United States, Mexico and Canada, begins and will turn 39 during the tournament.<\/p><p>Argentina return to action in November against Paraguay.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/07\/15014045\/0715_COPAMessi01-1024x512.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>Lionel Messi and the unmistakeable sense of an ending<\/p><p>(Top Photo: Luis Robayo\/AFP via Getty Images)<\/p>"}
                                                                                                                                                                                                                    
                                                                                                    

Extract Article Content - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5295/news+content+extractor+api/6836/extract+article+content?url=https://www.nytimes.com/athletic/5846795/2024/10/16/lionel-messi-hat-trick-argentina-bolivia/?searchResultPosition=1&format=html' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Extractor de Contenido de Noticias API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10,000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Extractor de Contenido de Noticias API FAQs

Envía una URL de artículo al endpoint y recibe el contenido principal y los metadatos en formato JSON o texto plano.

Extractor de Contenido de Noticias es una API que extrae el texto principal y los metadatos de artículos de noticias para su análisis y reutilización, compatible con sitios en varios idiomas.

Recibe la URL de un artículo como entrada y proporciona el texto principal y los metadatos estructurados en formato JSON o texto plano como salida.

Recopilar contenido para agregadores de noticias. Análisis de noticias para la minería de datos. Creación de resúmenes y clasificación de artículos de noticias en tiempo real.

1000 solicitudes por hora en todos los planes.

Hay diferentes planes que se adaptan a todos, incluyendo una prueba gratuita para un pequeño número de solicitudes, pero su tarifa está limitada para prevenir el abuso del servicio.

La API utiliza claves de API para autenticación. Para acceder a la API, incluya su clave de API en la cabecera de la solicitud. La clave de API se proporciona al registrarse y debe mantenerse segura.

La API devuelve información detallada sobre la edad y la historia de un dominio, incluyendo años, meses y días desde su creación, así como fechas de expiración y actualización.

El punto final devuelve el contenido textual principal del artículo, junto con metadatos como el título, autor, fecha de publicación, URL, imagen en miniatura y etiquetas relevantes. Estos datos estructurados se proporcionan en formato JSON o texto plano.

Los campos clave en la respuesta incluyen "título," "url," "autor," "thumbnailUrl," "etiquetas," "formato," y "contenido." Cada campo proporciona información esencial para entender el contexto y contenido del artículo.

Los datos de respuesta están organizados en un objeto JSON, donde cada clave corresponde a un dato específico sobre el artículo. Esta estructura permite un fácil análisis e integración en aplicaciones.

El punto final proporciona información como el contenido principal del artículo, detalles sobre el autor, URL de publicación, etiquetas asociadas y una imagen en miniatura. Estos datos completos respaldan diversas aplicaciones analíticas y de reutilización de contenido.

Los usuarios pueden personalizar sus solicitudes especificando la URL del artículo y, opcionalmente, eligiendo el formato de respuesta (JSON o texto plano). Esta flexibilidad permite una integración a medida en diferentes sistemas.

La API extrae datos de una amplia gama de artículos de noticias en línea a través de múltiples sitios web, incluyendo tanto fuentes populares como de nicho. Esta amplia cobertura mejora la diversidad del contenido disponible para el análisis.

La precisión de los datos se mantiene a través de un algoritmo propietario que analiza y extrae contenido de los artículos. Las actualizaciones y mejoras continuas del algoritmo ayudan a garantizar una extracción de datos de alta calidad.

Los casos de uso típicos incluyen la construcción de agregadores de noticias, la realización de análisis de sentimientos, la creación de resúmenes y la clasificación de artículos en tiempo real para diversas aplicaciones, como la investigación y el monitoreo de medios.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar